diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-06-18 16:17:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-18 06:17:54 -0700 |
commit | 4da86e5864e10b14880900b78cb94d33c199b7da (patch) | |
tree | 2ace2cc361d2c84a145b9e163c06733f0b6ef241 /src/view/com/modals/Modal.web.tsx | |
parent | dd86402763518ae94ced8274dda886f92ec7b51e (diff) | |
download | voidsky-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/view/com/modals/Modal.web.tsx')
-rw-r--r-- | src/view/com/modals/Modal.web.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index 3374c3132..3eb744380 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -12,7 +12,6 @@ import * as DeleteAccountModal from './DeleteAccount' import * as InviteCodesModal from './InviteCodes' import * as ContentLanguagesSettingsModal from './lang-settings/ContentLanguagesSettings' import * as PostLanguagesSettingsModal from './lang-settings/PostLanguagesSettings' -import * as LinkWarningModal from './LinkWarning' import * as UserAddRemoveLists from './UserAddRemoveLists' export function ModalsContainer() { @@ -65,8 +64,6 @@ function Modal({modal}: {modal: ModalIface}) { element = <PostLanguagesSettingsModal.Component /> } else if (modal.name === 'change-password') { element = <ChangePasswordModal.Component /> - } else if (modal.name === 'link-warning') { - element = <LinkWarningModal.Component {...modal} /> } else { return null } |