From 2f4f065bb9a7574b3814fbb2023b1f3f2b7406d4 Mon Sep 17 00:00:00 2001 From: raviteja83 Date: Tue, 10 Oct 2023 18:18:30 +0530 Subject: [PATCH] fix: remove commented code --- .../src/Prebuilt/components/Notifications/Notifications.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx b/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx index 50f2cff885..b95f712eda 100644 --- a/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx @@ -98,9 +98,6 @@ export function Notifications() { close: false, }); } - // goto leave for terminal if any action is not performed within 1s - // if network is still unavailable going to preview will throw an error - // redirectToLeave(1000); return; } // Autoplay error or user denied screen share (cancelled browser pop-up) @@ -139,7 +136,6 @@ export function Notifications() { title: `${notification.message}. ${notification.data.reason && `Reason: ${notification.data.reason}`}`, }); - // redirectToLeave(1000); break; case HMSNotificationTypes.DEVICE_CHANGE_UPDATE: ToastManager.addToast({