Skip to content

Commit

Permalink
fix: 모임 상세 페이지 TabBar back button 클릭 시 메인 페이지로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
Heeeera committed Mar 21, 2024
1 parent 578cef4 commit dc33434
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/GatheringDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@ const GatheringDetailPage = () => {
? participantResponse.some(({ userId }) => userId === data.id)
: false;

const goToGatheringListPage = () => {
navigate('/');
};

return (
<div className='flex h-full flex-col'>
<TabBar.Container>
<TabBar.Left>
<TabBar.GoBackButton />
<TabBar.GoBackButton onClick={goToGatheringListPage} />
</TabBar.Left>
<TabBar.Right>
{isParticipation && (
Expand Down

0 comments on commit dc33434

Please sign in to comment.