Skip to content

Commit

Permalink
Merge pull request #98 from Jemiiah/dev
Browse files Browse the repository at this point in the history
fix bug in address bar
  • Loading branch information
akiraonstarknet authored Aug 26, 2024
2 parents af17041 + 348cb28 commit 4866878
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 4866878

Please sign in to comment.