clean up goto
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
import { LOGIN_FIELDS } from '$lib/utils/constants/authentication';
|
import { LOGIN_FIELDS } from '$lib/utils/constants/authentication';
|
||||||
import AuthUI from '$lib/components/AuthUI/index.svelte';
|
import AuthUI from '$lib/components/AuthUI/index.svelte';
|
||||||
import { currentOrg } from '$lib/utils/store/org';
|
import { currentOrg } from '$lib/utils/store/org';
|
||||||
import { goto } from '$app/navigation';
|
|
||||||
|
|
||||||
let formRef;
|
let formRef;
|
||||||
let supabase = getSupabase();
|
let supabase = getSupabase();
|
||||||
@@ -36,10 +35,6 @@
|
|||||||
});
|
});
|
||||||
console.log('data', data);
|
console.log('data', data);
|
||||||
if (error) throw error;
|
if (error) throw error;
|
||||||
|
|
||||||
// if (redirect) {
|
|
||||||
// goto(redirect);
|
|
||||||
// }
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
submitError = error.error_description || error.message;
|
submitError = error.error_description || error.message;
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user