From 1d7b12dcb92187a361661bd435505688ecdf5203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Grutle?= Date: Thu, 13 Jun 2024 08:28:10 +0200 Subject: [PATCH] fix(login): fix error on email verification --- next-tavla/app/(admin)/components/Login/Create.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next-tavla/app/(admin)/components/Login/Create.tsx b/next-tavla/app/(admin)/components/Login/Create.tsx index 7b6026026..ea2d3e1b1 100644 --- a/next-tavla/app/(admin)/components/Login/Create.tsx +++ b/next-tavla/app/(admin)/components/Login/Create.tsx @@ -38,7 +38,7 @@ function Create() { password, ) await create(credential.user.uid) - sendEmailVerification(credential.user) + await sendEmailVerification(credential.user) return getFormFeedbackForError('auth/create') } catch (e) { if (e instanceof FirebaseError) {