From b0fcfa563d85dd8835157089c39e300713bcfb7f Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 20 Mar 2024 17:14:13 -0500 Subject: Password flow tweaks --- src/components/forms/FormError.tsx | 15 ++++++++------- src/screens/Login/ForgotPasswordForm.tsx | 27 ++++++++++++++------------- src/screens/Login/FormContainer.tsx | 2 +- src/screens/Login/SetNewPasswordForm.tsx | 10 ++++++---- 4 files changed, 29 insertions(+), 25 deletions(-) (limited to 'src') diff --git a/src/components/forms/FormError.tsx b/src/components/forms/FormError.tsx index 905aeebd6..9e72df879 100644 --- a/src/components/forms/FormError.tsx +++ b/src/components/forms/FormError.tsx @@ -13,16 +13,17 @@ export function FormError({error}: {error?: string}) { return ( - - - {error} + + + + {error} + ) diff --git a/src/screens/Login/ForgotPasswordForm.tsx b/src/screens/Login/ForgotPasswordForm.tsx index 37d24bb10..580452e75 100644 --- a/src/screens/Login/ForgotPasswordForm.tsx +++ b/src/screens/Login/ForgotPasswordForm.tsx @@ -114,21 +114,22 @@ export const ForgotPasswordForm = ({ /> - - - - Enter the email you used to create your account. We'll send you a - "reset code" so you can set a new password. - - - + + + + Enter the email you used to create your account. We'll send you a + "reset code" so you can set a new password. + + + - + +