Skip to content

Conversation

@wangsijie
Copy link
Contributor

Summary

  • Hide the loading spinner on the passkey creation button while WebAuthn
    registration options are being pre-fetched
  • Use isDisabled instead of isLoading to disable the button until
    registration data is ready

Test plan

  • Navigate to account center → MFA → Create passkey
  • Verify button is disabled but not showing loading spinner on initial load
  • Verify loading spinner appears during actual passkey registration

Use isDisabled instead of isLoading while pre-fetching WebAuthn
registration options to avoid showing a loading spinner when the
page first loads.
@github-actions github-actions bot added the bugfix label Jan 2, 2026
@github-actions
Copy link

github-actions bot commented Jan 2, 2026

COMPARE TO master

Total Size Diff 📈 +20 Bytes

Diff by File
Name Diff
packages/account/src/pages/PasskeyBinding/index.tsx 📈 +20 Bytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants