text changes on isSubmitting

This commit is contained in:
Ollie Halliday
2023-09-30 16:50:52 +01:00
committed by Mythie
parent 82f13e0ac3
commit 830f10ac6f
4 changed files with 16 additions and 8 deletions

View File

@ -166,7 +166,7 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps)
</div>
<Button size="lg" loading={isSubmitting}>
Reset Password
{isSubmitting ? 'Resetting Password...' : 'Reset Password'}
</Button>
</form>
);