about summary refs log tree commit diff
path: root/src/view/com/modals/Modal.web.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-02-08 23:41:02 +0000
committerGitHub <noreply@github.com>2024-02-08 23:41:02 +0000
commitd9b62955b5424046b19fe4b8761f820774656f3f (patch)
tree27c4c739462760ef97c61b0a5f75dae829b1c4f9 /src/view/com/modals/Modal.web.tsx
parent06f81d69486f2e6e8ffd65da5a4bfdcd7d8a2655 (diff)
downloadvoidsky-d9b62955b5424046b19fe4b8761f820774656f3f.tar.zst
Remove Profile Preview modal (#2790)
Diffstat (limited to 'src/view/com/modals/Modal.web.tsx')
-rw-r--r--src/view/com/modals/Modal.web.tsx3
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 384a4772a..cb6f5bead 100644
--- a/src/view/com/modals/Modal.web.tsx
+++ b/src/view/com/modals/Modal.web.tsx
@@ -9,7 +9,6 @@ import {useModals, useModalControls} from '#/state/modals'
 import type {Modal as ModalIface} from '#/state/modals'
 import * as ConfirmModal from './Confirm'
 import * as EditProfileModal from './EditProfile'
-import * as ProfilePreviewModal from './ProfilePreview'
 import * as ServerInputModal from './ServerInput'
 import * as ReportModal from './report/Modal'
 import * as AppealLabelModal from './AppealLabel'
@@ -85,8 +84,6 @@ function Modal({modal}: {modal: ModalIface}) {
     element = <ConfirmModal.Component {...modal} />
   } else if (modal.name === 'edit-profile') {
     element = <EditProfileModal.Component {...modal} />
-  } else if (modal.name === 'profile-preview') {
-    element = <ProfilePreviewModal.Component {...modal} />
   } else if (modal.name === 'server-input') {
     element = <ServerInputModal.Component {...modal} />
   } else if (modal.name === 'report') {