Skip to content

Commit

Permalink
🩹 app: disable button when mutation is pending
Browse files Browse the repository at this point in the history
  • Loading branch information
dieguezguille committed Oct 31, 2024
1 parent fbff1b1 commit c614347
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/onboarding/Passkeys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default function Passkeys() {
isLoading={isPending || isConnecting}
loadingContent="Creating account..."
iconAfter={<Key size={ms(20)} color="$interactiveOnBaseBrandDefault" fontWeight="bold" />}
disabled={isPending}
onPress={() => {
createAccount();
}}
Expand Down

0 comments on commit c614347

Please sign in to comment.