Skip to content

Commit

Permalink
Merge pull request #1425 from 42organization/test-deploy
Browse files Browse the repository at this point in the history
[Feat] 파티 상세페이지에서 뒤로가기하면 항상 파티 메인으로 이동하게 수정
  • Loading branch information
izone00 authored Apr 24, 2024
2 parents ade8b8d + d23061f commit 4ebc3a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/main/PartyPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export default function PartyPreview() {
const limitedRooms = openRooms.slice(0, 3);
const router = useRouter();

const movePartyRoom = (roomId: number) => {
const movePartyRoom = async (roomId: number) => {
await router.push(`/party`);
router.push(`/party/room?id=${roomId}`);
};
return (
Expand Down

0 comments on commit 4ebc3a1

Please sign in to comment.