From 530ea721a2ef37c8f4ece135da6c772972a9e0c6 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Thu, 14 Sep 2023 22:26:20 +0100 Subject: [PATCH] clean up goto --- src/routes/login/+page.svelte | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte index 58579d2e..8bd0cc78 100644 --- a/src/routes/login/+page.svelte +++ b/src/routes/login/+page.svelte @@ -7,7 +7,6 @@ import { LOGIN_FIELDS } from '$lib/utils/constants/authentication'; import AuthUI from '$lib/components/AuthUI/index.svelte'; import { currentOrg } from '$lib/utils/store/org'; - import { goto } from '$app/navigation'; let formRef; let supabase = getSupabase(); @@ -36,10 +35,6 @@ }); console.log('data', data); if (error) throw error; - - // if (redirect) { - // goto(redirect); - // } } catch (error) { submitError = error.error_description || error.message; } finally {