diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-10-29 20:55:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-29 20:55:30 +0000 |
commit | 1cfcffd79eb8298e628c9bb9b71570e1b1269c6a (patch) | |
tree | a7aadf22c70aafcfb6b9e74df95807b122aa1cfb /src/state/modals | |
parent | 27ff85433b7ce0f1a9d3a2e20e8ef9179a11f9ff (diff) | |
download | voidsky-1cfcffd79eb8298e628c9bb9b71570e1b1269c6a.tar.zst |
temp revert to old modal (#6005)
Diffstat (limited to 'src/state/modals')
-rw-r--r-- | src/state/modals/index.tsx | 9 |
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 |