diff --git a/keep-ui/app/alerts/alerts.client.tsx b/keep-ui/app/alerts/alerts.client.tsx index 5e0aa05b7..f409867bf 100644 --- a/keep-ui/app/alerts/alerts.client.tsx +++ b/keep-ui/app/alerts/alerts.client.tsx @@ -20,13 +20,11 @@ export default function AlertsPage({ presetName }: AlertsPageProps) { if (status === "unauthenticated") { console.log("unauthenticated"); - debugger; router.push("/signin"); } if (session && !session.tenantId) { console.log("no tenantId"); - debugger; router.push("/signin"); } diff --git a/keep-ui/app/alerts/alerts.tsx b/keep-ui/app/alerts/alerts.tsx index ef53d6d4d..d70c6318d 100644 --- a/keep-ui/app/alerts/alerts.tsx +++ b/keep-ui/app/alerts/alerts.tsx @@ -129,7 +129,6 @@ export default function Alerts({ presetName }: AlertsProps) { if (alertsError) { if (alertsError.statusCode === 401) { console.log("unauthenticated 401"); - debugger; window.location.href = "/signin"; return null; } diff --git a/keep-ui/app/providers/page.client.tsx b/keep-ui/app/providers/page.client.tsx index 42e6856c8..b44cdf109 100644 --- a/keep-ui/app/providers/page.client.tsx +++ b/keep-ui/app/providers/page.client.tsx @@ -135,7 +135,6 @@ export default function ProvidersPage({ } if (status === "loading") return ; if (status === "unauthenticated") { - debugger; router.push("/signin"); } if (!providers || !installedProviders || providers.length <= 0) diff --git a/keep-ui/app/workflows/[workflow_id]/executions.tsx b/keep-ui/app/workflows/[workflow_id]/executions.tsx index 9395b733f..86df4cd2b 100644 --- a/keep-ui/app/workflows/[workflow_id]/executions.tsx +++ b/keep-ui/app/workflows/[workflow_id]/executions.tsx @@ -36,7 +36,6 @@ export default function WorkflowDetailPage({ useEffect(() => { if (status === "unauthenticated") { - debugger; router.push("/signin"); } }, [status, router]);