diff --git a/.changeset/quiet-mangos-wave.md b/.changeset/quiet-mangos-wave.md new file mode 100644 index 00000000000..5aa2b29e8cf --- /dev/null +++ b/.changeset/quiet-mangos-wave.md @@ -0,0 +1,5 @@ +--- +"thirdweb": patch +--- + +React: Hides guest accounts from linked profiles screen diff --git a/packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx b/packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx index fab4bcbd2bc..e0f580d5b01 100644 --- a/packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx +++ b/packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx @@ -88,13 +88,16 @@ export function LinkedProfilesScreen(props: { - {connectedProfiles?.map((profile) => ( - - ))} + {/* Exclude guest as a profile */} + {connectedProfiles + ?.filter((profile) => profile.type !== "guest") + .map((profile) => ( + + ))}