From d0be0704b16917ca6534454afc294e9b302bf9ed Mon Sep 17 00:00:00 2001 From: nalsae Date: Tue, 12 Dec 2023 15:51:25 +0900 Subject: [PATCH] =?UTF-8?q?[FE]=20=E2=9C=A8=20Feat=20:=20modalStore?= =?UTF-8?q?=EC=97=90=20=EB=B0=A9=EB=AA=85=EB=A1=9D=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(#352)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/stores/modalStore.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/client/src/stores/modalStore.ts b/client/src/stores/modalStore.ts index b12a6c5b..5355e515 100644 --- a/client/src/stores/modalStore.ts +++ b/client/src/stores/modalStore.ts @@ -9,7 +9,8 @@ export type GardenType = | 'purchaseInfo' | 'purchase' | 'emptyInventory' - | 'share'; + | 'share' + | 'guestbook'; export type LeafsType = 'deleteLeaf' | 'share'; @@ -32,7 +33,15 @@ export type ProfileType = | 'ChangeNicknameModal' | 'ChangeImageModal'; -export type ModalType = PostType | GardenType | LeafsType | LeafType | SignType | HistoryType | ProfileType | null; +export type ModalType = + | PostType + | GardenType + | LeafsType + | LeafType + | SignType + | HistoryType + | ProfileType + | null; export interface ModalState { isOpen: boolean;