From 4da86e5864e10b14880900b78cb94d33c199b7da Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 18 Jun 2025 16:17:54 +0300 Subject: Modernise link warning dialog (#8243) * add link warning dialog * add copy for if sharing * delete old modal * get web working --- src/state/modals/index.tsx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/state/modals/index.tsx') diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx index 7ebcec4c7..a2cc63745 100644 --- a/src/state/modals/index.tsx +++ b/src/state/modals/index.tsx @@ -43,13 +43,6 @@ export interface ChangePasswordModal { name: 'change-password' } -export interface LinkWarningModal { - name: 'link-warning' - text: string - href: string - share?: boolean -} - export type Modal = // Account | DeleteAccountModal @@ -67,9 +60,6 @@ export type Modal = | WaitlistModal | InviteCodesModal - // Generic - | LinkWarningModal - const ModalContext = React.createContext<{ isModalActive: boolean activeModals: Modal[] -- cgit 1.4.1