Skip to content

Commit

Permalink
Merge pull request #90 from CHZZK-Study/dev
Browse files Browse the repository at this point in the history
[Fix] 비확정 일정 페이지 변경 이슈 해결
  • Loading branch information
SebellKo authored Oct 11, 2024
2 parents 69c0265 + 36659ac commit ea92396
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 ea92396

Please sign in to comment.