Skip to content

Commit d72d4e5

Browse files
committed
updated router
1 parent 6afb1e6 commit d72d4e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/EndCallButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const EndCallButton = () => {
2626

2727
const endCall = async () => {
2828
await call.endCall();
29-
router.push("/");
29+
router.push("/dashboard");
3030
};
3131

3232
return (

components/MeetingRoom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const MeetingRoom = () => {
6161
</div>
6262
{/* video layout and call controls */}
6363
<div className="fixed bottom-2 flex flex-wrap w-full items-center justify-center gap-4">
64-
<CallControls onLeave={() => router.push(`/`)} />
64+
<CallControls onLeave={() => router.push(`/dashboard`)} />
6565

6666
<DropdownMenu>
6767
<div className="flex items-center">

0 commit comments

Comments
 (0)