add - loading spinner, administration, navbar modfications

This commit is contained in:
eric committed 2022-12-07 15:11:50 +01:00
1 parent 6a10740307
commit 27187c6c68
28 files changed
+886 -116

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ const MainPage = ({ csrfToken }: Props) => {
const onMailSubmit = async (data: LoginSubmitForm) => {
if (onCheckTerms()) {
signIn("email", { email: data.email, callbackUrl: `${window.location.origin}/create` })
signIn("email", { email: data.email, callbackUrl: `${window.location.origin}/mon-compte` })
}
await trigger("acceptTerms");
await trigger("email");