Skip to content

Commit

Permalink
Merge branch 'strkfarm:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugo-X authored Aug 28, 2024
2 parents a9018d7 + 4866878 commit 1507aab
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,20 +252,20 @@ export default function Navbar(props: NavbarProps) {
>
<Center>
{address ? (
starkProfile ? (
<Box display="flex" alignItems="center" gap=".5rem">
<Image
src={starkProfile?.profilePicture}
alt="pfp"
width={30}
height={30}
rounded="full"
/>{' '}
<h3>{starkProfile?.name}</h3>
</Box>
) : (
shortAddress(address)
)
<Box display="flex" alignItems="center" gap=".5rem">
<Image
src={starkProfile?.profilePicture}
alt="pfp"
width={30}
height={30}
rounded="full"
/>{' '}
<h3>
{starkProfile && starkProfile.name
? starkProfile.name
: shortAddress(address)}
</h3>
</Box>
) : (
'Connect'
)}
Expand Down

0 comments on commit 1507aab

Please sign in to comment.