Skip to content

Commit

Permalink
update WithNameBadge
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Jun 9, 2024
1 parent 4854007 commit d06e326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/identity/components/WithNameBadge.css

This file was deleted.

4 changes: 2 additions & 2 deletions src/identity/components/WithNameBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ function WithNameBadgeInner({ children, address }: WithNameBadgeInnerReact) {
schemaId: onchainKitContext?.schemaId,
});
return (
<div className="ock-withnamebadge-container" data-testid="ockNameBadgeContainer">
<div className="flex items-center" data-testid="ockNameBadgeContainer">
{children}
{attestations && attestations[0] && (
<div className="ock-withnamebadge-inner">
<div className="ml-1">
<Badge />
</div>
)}
Expand Down

0 comments on commit d06e326

Please sign in to comment.