diff --git a/src/containers/Modals/index.ts b/src/containers/Modals/index.ts index 534d03bdeef..1b80a99ca33 100644 --- a/src/containers/Modals/index.ts +++ b/src/containers/Modals/index.ts @@ -15,7 +15,6 @@ export { TypeModal } from "./TypeModal"; export { JPathModal } from "./JPathModal"; type Modal = - | "clear" | "cloud" | "download" | "import" diff --git a/src/layout/ModalController.tsx b/src/layout/ModalController.tsx index 69aa08aa47d..d229040f00f 100644 --- a/src/layout/ModalController.tsx +++ b/src/layout/ModalController.tsx @@ -8,7 +8,6 @@ type ModalComponent = { key: Modal; component: React.FC }; 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 }, diff --git a/src/store/useModal.ts b/src/store/useModal.ts index a93c42b33a8..af3381cc3d6 100644 --- a/src/store/useModal.ts +++ b/src/store/useModal.ts @@ -11,7 +11,6 @@ interface ModalActions { } const initialStates: ModalState = { - clear: false, cloud: false, download: false, import: false,