chore: bump version to 2.21.7 in package.json and enhance captcha handling in auth components

- Updated application version from 2.21.6 to 2.21.7 in package.json.
- Improved conditional rendering for captcha loading states in PasswordResetRequestContainer, PasswordSignInForm, and ResendAuthLinkForm components to enhance user experience during authentication processes.
This commit is contained in:
gbuomprisco
2025-12-02 21:59:08 +08:00
parent f6c635aac3
commit 7aa79e501e
4 changed files with 16 additions and 5 deletions

View File

@@ -94,7 +94,9 @@ export function ResendAuthLinkForm(props: {
<Trans i18nKey={'auth:resendingLink'} />
</If>
<Trans i18nKey={'auth:resendLink'} defaults={'Resend Link'} />
<If condition={!resendLink.isPending && !captchaLoading}>
<Trans i18nKey={'auth:resendLink'} defaults={'Resend Link'} />
</If>
</Button>
</form>