CLASSROOMIO-T-73: Fix Org site name issues
CLASSROOMIO-T-73:made the neccessary changes as noted from the review CLASSROOMIO-T-73:fixed the prettier config and saved FIX:CLASSROOMIO-T-73([BUG]Org site name),made some update to the bug fix FIX:CLASSROOMIO-T-73(ORG site name issues) Co-authored-by: Ifeanyi Nwosu <ifeanyi@digdippa.com> Co-authored-by: emmanuel <chifez1@gmail.com> Merge-request: CLASSROOMIO-MR-16 Merged-by: Best Admin <digdippa@gmail.com>
This commit is contained in:
committed by
Space Cloud
co-authored by
Ifeanyi Nwosu
parent
ed67d43b2a
commit
2a0e7d4d5c
+10
-10
@@ -5,17 +5,17 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import { goto } from '@sapper/app';
|
||||
import TextField from '../components/Form/TextField.svelte';
|
||||
import PrimaryButton from '../components/PrimaryButton/index.svelte';
|
||||
import { getSupabase } from '../utils/functions/supabase';
|
||||
import { goto } from "@sapper/app";
|
||||
import TextField from "../components/Form/TextField.svelte";
|
||||
import PrimaryButton from "../components/PrimaryButton/index.svelte";
|
||||
import { getSupabase } from "../utils/functions/supabase";
|
||||
import {
|
||||
authValidation,
|
||||
getConfirmPasswordError,
|
||||
getDisableSubmit,
|
||||
} from '../utils/functions/validator';
|
||||
import { SIGNUP_FIELDS } from '../utils/constants/authentication';
|
||||
import AuthUI from '../components/AuthUI/index.svelte';
|
||||
} from "../utils/functions/validator";
|
||||
import { SIGNUP_FIELDS } from "../utils/constants/authentication";
|
||||
import AuthUI from "../components/AuthUI/index.svelte";
|
||||
|
||||
export let config;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
async function handleSubmit(e) {
|
||||
const validationRes = authValidation(fields);
|
||||
console.log('validationRes', validationRes);
|
||||
console.log("validationRes", validationRes);
|
||||
|
||||
if (Object.keys(validationRes).length) {
|
||||
errors = Object.assign(errors, validationRes);
|
||||
@@ -43,12 +43,12 @@
|
||||
email: fields.email,
|
||||
password: fields.password,
|
||||
});
|
||||
console.log('data', data);
|
||||
console.log("data", data);
|
||||
if (error) throw error;
|
||||
|
||||
formRef?.reset();
|
||||
|
||||
return goto('/login');
|
||||
return goto("/login");
|
||||
// success = true;
|
||||
// fields = Object.assign({}, SIGNUP_FIELDS);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user