Skip to content

Commit

Permalink
Update NoWallet Behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed May 31, 2024
1 parent dad3c99 commit a01308f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/profile/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export const UserProfile = () => {
const { connect } = useConnect();
const connectors = useConnectors();

if (connectors.length === 0) {
return;
}

if (!address) {
return (
<button
Expand Down

0 comments on commit a01308f

Please sign in to comment.