Skip to content

Commit

Permalink
[FE] ✨ Feat : modalStore에 방명록 관련 로직 추가 구현 (codestates-seb#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
nalsae committed Dec 12, 2023
1 parent 15f4c2d commit d0be070
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions client/src/stores/modalStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export type GardenType =
| 'purchaseInfo'
| 'purchase'
| 'emptyInventory'
| 'share';
| 'share'
| 'guestbook';

export type LeafsType = 'deleteLeaf' | 'share';

Expand All @@ -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;
Expand Down

0 comments on commit d0be070

Please sign in to comment.