about summary refs log tree commit diff
path: root/src/view/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/screens')
-rw-r--r--src/view/screens/Settings.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx
index 94f5acd93..437b0f6c6 100644
--- a/src/view/screens/Settings.tsx
+++ b/src/view/screens/Settings.tsx
@@ -20,7 +20,6 @@ import {UserAvatar} from '../com/util/UserAvatar'
 import {usePalette} from 'lib/hooks/usePalette'
 import {AccountData} from 'state/models/session'
 import {useAnalytics} from 'lib/analytics'
-import {DeleteAccountModal} from 'state/models/shell-ui'
 
 export const Settings = observer(function Settings({
   navIdx,
@@ -66,7 +65,7 @@ export const Settings = observer(function Settings({
     store.session.logout()
   }
   const onPressDeleteAccount = () => {
-    store.shell.openModal(new DeleteAccountModal())
+    store.shell.openModal({name: 'delete-account'})
   }
 
   return (