File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,8 @@ const Web3WalletButtonsInner = ({ web3AuthCallback }: Web3WalletButtonsProps) =>
5858 card . setLoading ( walletName ) ;
5959 try {
6060 await web3AuthCallback ( { walletName } ) ;
61- } catch ( error ) {
61+ } catch {
6262 await sleep ( 1000 ) ;
63- card . setError ( error ) ;
64- } finally {
65- await sleep ( 5000 ) ;
6663 card . setIdle ( ) ;
6764 }
6865 } ;
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export const generateWeb3Signature: GenerateSignature = async (params): Promise<
7171 } ) ;
7272 }
7373 throw new ClerkRuntimeError ( 'An error occurred while generating the Solana signature.' , {
74- code : 'web3_solana_signature_error ' ,
74+ code : 'web3_solana_signature_generation_failed ' ,
7575 cause : err ,
7676 } ) ;
7777 }
Original file line number Diff line number Diff line change @@ -951,6 +951,9 @@ export const enUS: LocalizationResource = {
951951 phone_number_exists : undefined ,
952952 session_exists : undefined ,
953953 web3_missing_identifier : 'A Web3 Wallet extension cannot be found. Please install one to continue.' ,
954+ web3_signature_request_rejected : 'You have rejected the signature request. Please try again to continue.' ,
955+ web3_solana_signature_generation_failed :
956+ 'An error occurred while generating the signature. Please try again to continue.' ,
954957 zxcvbn : {
955958 couldBeStronger : 'Your password works, but could be stronger. Try adding more characters.' ,
956959 goodPassword : 'Your password meets all the necessary requirements.' ,
Original file line number Diff line number Diff line change @@ -1331,6 +1331,8 @@ type UnstableErrors = WithParamName<{
13311331 passkey_registration_cancelled : LocalizationValue ;
13321332 passkey_already_exists : LocalizationValue ;
13331333 web3_missing_identifier : LocalizationValue ;
1334+ web3_solana_signature_generation_failed : LocalizationValue ;
1335+ web3_signature_request_rejected : LocalizationValue ;
13341336 form_password_pwned : LocalizationValue ;
13351337 form_password_pwned__sign_in : LocalizationValue ;
13361338 /** @deprecated Use `form_password_compromised__sign_in` instead */
You can’t perform that action at this time.
0 commit comments