Skip to content

Commit

Permalink
[fix] liked 페이지만 nav 가 다른 것 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
zestlee1106 committed Dec 26, 2023
1 parent 525e4c2 commit c5a8e28
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions pages/liked/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,7 @@ export default function Liked({ roomInfo }: MyPostingProps) {
<RoomCard room={room} onClick={() => handleCardClick(room.id)} isLikedRooms />
</div>
))}
<div className="mt-[83px] fixed bottom-[-15px] w-full overflow-x-hidden left-[50%] translate-x-[-50%] max-w-max">
<div className="w-full">
<div className="mb-[13px] space-x-[8px] max-w-max">
<Nav />
</div>
</div>
</div>

<div ref={target} />
</div>
);
Expand All @@ -204,8 +198,17 @@ export default function Liked({ roomInfo }: MyPostingProps) {

Liked.getLayout = function getLayout(page: React.ReactElement) {
return (
<DefaultLayout type="title" title="Liked" titleCenter>
{page}
</DefaultLayout>
<>
<DefaultLayout type="title" title="Liked" titleCenter>
{page}
</DefaultLayout>
<div className="mt-[83px] fixed bottom-[-15px] w-full overflow-x-hidden left-[50%] translate-x-[-50%] max-w-max z-20 border-t-[1px] border-g2">
<div className="w-full">
<div className="mb-[13px] space-x-[8px] max-w-max">
<Nav />
</div>
</div>
</div>
</>
);
};

0 comments on commit c5a8e28

Please sign in to comment.