Skip to content

Commit 7220dfd

Browse files
authored
chore(clerk-js): Remove primaryWeb3Wallet from <UserPreview /> in UserProfileSection (#5319)
1 parent 657af33 commit 7220dfd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/sixty-hornets-drop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
5+
Remove the Primary Web3 wallet from user preview section, in the `<UserProfile/>`

packages/clerk-js/src/ui/components/UserProfile/UserProfileSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const UserProfileSection = () => {
2424
return null;
2525
}
2626

27-
const { username, primaryEmailAddress, primaryPhoneNumber, ...userWithoutIdentifiers } = user;
27+
const { username, primaryEmailAddress, primaryPhoneNumber, primaryWeb3Wallet, ...userWithoutIdentifiers } = user;
2828

2929
return (
3030
<ProfileSection.Root

0 commit comments

Comments
 (0)