Skip to content

Commit

Permalink
remove clear modal
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Aug 22, 2024
1 parent 0b36f05 commit a3047c9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/containers/Modals/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export { TypeModal } from "./TypeModal";
export { JPathModal } from "./JPathModal";

type Modal =
| "clear"
| "cloud"
| "download"
| "import"
Expand Down
1 change: 0 additions & 1 deletion src/layout/ModalController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ type ModalComponent = { key: Modal; component: React.FC<ModalProps> };

const modalComponents: ModalComponent[] = [
{ key: "import", component: Modals.ImportModal },
{ key: "clear", component: Modals.ClearModal },
{ key: "download", component: Modals.DownloadModal },
{ key: "cloud", component: Modals.CloudModal },
{ key: "account", component: Modals.AccountModal },
Expand Down
1 change: 0 additions & 1 deletion src/store/useModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ interface ModalActions {
}

const initialStates: ModalState = {
clear: false,
cloud: false,
download: false,
import: false,
Expand Down

0 comments on commit a3047c9

Please sign in to comment.