From ab83eea9e893ae03aa08a2e5d0fff9dbdbbac08b Mon Sep 17 00:00:00 2001 From: Muniz Date: Sat, 28 Oct 2023 20:11:40 -0300 Subject: [PATCH] fix: redirect to /create after left the call --- src/hooks/useRedirectionRule.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hooks/useRedirectionRule.ts b/src/hooks/useRedirectionRule.ts index 8626355..260aef8 100644 --- a/src/hooks/useRedirectionRule.ts +++ b/src/hooks/useRedirectionRule.ts @@ -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";