about summary refs log tree commit diff
path: root/src/state/modals/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/modals/index.tsx')
-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