-
Notifications
You must be signed in to change notification settings - Fork 402
fix(clerk-js,types,localizations): Allow user set primary web3 wallet in <UserProfile />
#5353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(clerk-js,types,localizations): Allow user set primary web3 wallet in <UserProfile />
#5353
Conversation
🦋 Changeset detectedLatest commit: c9f92d7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<UserProfile /> when more than one web3 wallets presented<UserProfile />
caccdb5 to
ff730b8
Compare
.changeset/strong-chefs-travel.md
Outdated
| --- | ||
| '@clerk/localizations': patch | ||
| '@clerk/clerk-js': patch | ||
| '@clerk/types': patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe these should be minor
packages/localizations/src/en-US.ts
Outdated
| title: 'Username', | ||
| }, | ||
| web3WalletsSection: { | ||
| detailsAction__nonPrimary: 'Set as primary', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikospapcom you can run the generate.ts script inside the localizations package to add this key to all the localizations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anagstef Done
| const [setPrimary] = useReverification(() => { | ||
| return user?.update({ primaryWeb3WalletId: walletId }); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
… in `<UserProfile />` when more than one web3 wallets presented
ff730b8 to
c9f92d7
Compare
Description
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
AFTER
Screen.Recording.2025-03-14.at.5.51.56.PM.mov