From a3047c96e5ece2b55fe524652c6fa44175ae02b1 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Thu, 22 Aug 2024 23:42:21 +0300 Subject: [PATCH] remove clear modal --- src/containers/Modals/index.ts | 1 - src/layout/ModalController.tsx | 1 - src/store/useModal.ts | 1 - 3 files changed, 3 deletions(-) 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,