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.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.tsx')
-rw-r--r-- | src/view/com/modals/Modal.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/view/com/modals/Modal.tsx b/src/view/com/modals/Modal.tsx index 1ec4052d0..f9afd183e 100644 --- a/src/view/com/modals/Modal.tsx +++ b/src/view/com/modals/Modal.tsx @@ -13,7 +13,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 UserAddRemoveListsModal from './UserAddRemoveLists' const DEFAULT_SNAPPOINTS = ['90%'] @@ -68,9 +67,6 @@ export function ModalsContainer() { } else if (activeModal?.name === 'change-password') { snapPoints = ChangePasswordModal.snapPoints element = <ChangePasswordModal.Component /> - } else if (activeModal?.name === 'link-warning') { - snapPoints = LinkWarningModal.snapPoints - element = <LinkWarningModal.Component {...activeModal} /> } else { return null } |