about summary refs log tree commit diff
path: root/src/state/modals/index.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-06-18 16:17:54 +0300
committerGitHub <noreply@github.com>2025-06-18 06:17:54 -0700
commit4da86e5864e10b14880900b78cb94d33c199b7da (patch)
tree2ace2cc361d2c84a145b9e163c06733f0b6ef241 /src/state/modals/index.tsx
parentdd86402763518ae94ced8274dda886f92ec7b51e (diff)
downloadvoidsky-4da86e5864e10b14880900b78cb94d33c199b7da.tar.zst
Modernise link warning dialog (#8243)
* add link warning dialog

* add copy for if sharing

* delete old modal

* get web working
Diffstat (limited to 'src/state/modals/index.tsx')
-rw-r--r--src/state/modals/index.tsx10
1 files changed, 0 insertions, 10 deletions
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[]