Skip to content

Commit

Permalink
fix: redirect to /create after left the call
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmuniz1994 committed Oct 28, 2023
1 parent caa71e2 commit ab83eea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/hooks/useRedirectionRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ export function getRedirectionRule(

if (path.startsWith("/p2p-call")) {
const callUuid = path.replace("/p2p-call/", "");
if (hasAuth && !ongoingCall && callUuid) {
return `/join?callUid=${callUuid}`;
}

if (hasAuth && !ongoingCall) {
return "/create";
Expand Down

0 comments on commit ab83eea

Please sign in to comment.