Skip to content

Commit

Permalink
[FE] 🐛 Fix : 방명록 모달 관련 이슈 해결 (codestates-seb#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
nalsae committed Dec 12, 2023
1 parent 54957de commit 2d1b043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/garden/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function Garden({ params }: GardenProps) {
if (type === 'purchase') return <PurchaseModal />;
if (type === 'emptyInventory') return <EmptyInventoryModal />;
if (type === 'share') return <ShareModal location="garden" />;
if (type === 'guestbook') return <GuestbookModal isOwner={true} />;
if (type === 'guestbook') return <GuestbookModal />;
};

const isOwner = userId === params.id;
Expand Down

0 comments on commit 2d1b043

Please sign in to comment.