Skip to content

Commit

Permalink
Merge pull request #89 from CHZZK-Study/FIX/HM-169
Browse files Browse the repository at this point in the history
[Fix/HM-169]: 비확정 일정 페이지 변경 경로 수정
  • Loading branch information
SebellKo authored Oct 11, 2024
2 parents 3c3fb3a + 113bfd6 commit 36659ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/roomdetail/NonConfirmList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface Props {

function NonConfirmList({ progressMeetings, isLeader }: Props) {
const navigate = useNavigate();
const { id } = useParams();
const { roomId } = useParams();

return (
<List>
Expand All @@ -25,8 +25,8 @@ function NonConfirmList({ progressMeetings, isLeader }: Props) {
key={item.id}
onClick={() =>
isLeader && item.isParticipant
? navigate(`/meeting/${id}/decision/${item.id}`)
: navigate(`/meeting/${id}/select/${item.id}`)
? navigate(`/meeting/${roomId}/decision/${item.id}`)
: navigate(`/meeting/${roomId}/select/${item.id}`)
}
>
<h1 className="title">{item.name.value}</h1>
Expand Down

0 comments on commit 36659ac

Please sign in to comment.