fix: remove loadingText prop

This commit is contained in:
Lucas Smith
2023-12-22 01:46:41 +00:00
parent 075fdd1f88
commit 1aa0fc3101
8 changed files with 19 additions and 25 deletions

View File

@ -82,8 +82,8 @@ export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
/>
</fieldset>
<Button size="lg" loading={isSubmitting} loadingText="Sending Reset Email...">
Reset Password
<Button size="lg" loading={isSubmitting}>
{isSubmitting ? 'Sending Reset Email...' : 'Reset Password'}
</Button>
</form>
</Form>