From 2ba6a65da4925242b557108b91856f0bd500b1ed Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Mon, 28 Aug 2023 11:43:40 +0100 Subject: [PATCH] Change order of password check --- frontend/src/components/signup/UserInfoStep.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/signup/UserInfoStep.tsx b/frontend/src/components/signup/UserInfoStep.tsx index c09e43fcb..0e2b02f87 100644 --- a/frontend/src/components/signup/UserInfoStep.tsx +++ b/frontend/src/components/signup/UserInfoStep.tsx @@ -269,11 +269,11 @@ export default function UserInfoStep({ { + setPassword(pass); await checkPassword({ password: pass, setErrors }); - setPassword(pass); }} type="password" value={password}