Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Oct 16, 2024
1 parent a509ecf commit dddb247
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/identity/components/Name.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ export function Name({
}: NameReact) {
const { address: contextAddress, chain: contextChain } = useIdentityContext();
if (!contextAddress && !address) {
throw new Error(
'Name: an Ethereum address must be provided to the Identity or Name component.',
);
console.error('Name: an Ethereum address must be provided to the Identity or Name component.');
return null;
}

const accountAddress = address ?? contextAddress;
Expand Down

0 comments on commit dddb247

Please sign in to comment.