text changes on isSubmitting

This commit is contained in:
Ollie Halliday
2023-09-30 16:50:52 +01:00
parent 94216f5219
commit 86f39f3824
4 changed files with 16 additions and 8 deletions

View File

@ -73,7 +73,7 @@ export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
</div>
<Button size="lg" loading={isSubmitting}>
Reset Password
{isSubmitting ? 'Sending Reset Email...' : 'Reset Password'}
</Button>
</form>
);