about summary refs log tree commit diff
path: root/src/state/modals
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-10-29 20:55:30 +0000
committerGitHub <noreply@github.com>2024-10-29 20:55:30 +0000
commit1cfcffd79eb8298e628c9bb9b71570e1b1269c6a (patch)
treea7aadf22c70aafcfb6b9e74df95807b122aa1cfb /src/state/modals
parent27ff85433b7ce0f1a9d3a2e20e8ef9179a11f9ff (diff)
downloadvoidsky-1cfcffd79eb8298e628c9bb9b71570e1b1269c6a.tar.zst
temp revert to old modal (#6005)
Diffstat (limited to 'src/state/modals')
-rw-r--r--src/state/modals/index.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx
index 05e0c53f6..78f476d52 100644
--- a/src/state/modals/index.tsx
+++ b/src/state/modals/index.tsx
@@ -4,6 +4,12 @@ import {AppBskyActorDefs, AppBskyGraphDefs} from '@atproto/api'
 
 import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
 
+export interface EditProfileModal {
+  name: 'edit-profile'
+  profile: AppBskyActorDefs.ProfileViewDetailed
+  onUpdate?: () => void
+}
+
 export interface CreateOrEditListModal {
   name: 'create-or-edit-list'
   purpose?: string
@@ -102,6 +108,9 @@ export type Modal =
   | ChangeEmailModal
   | ChangePasswordModal
 
+  // Temp
+  | EditProfileModal
+
   // Curation
   | ContentLanguagesSettingsModal
   | PostLanguagesSettingsModal