From 1cfcffd79eb8298e628c9bb9b71570e1b1269c6a Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 29 Oct 2024 20:55:30 +0000 Subject: temp revert to old modal (#6005) --- src/state/modals/index.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/state/modals/index.tsx') 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 -- cgit 1.4.1