Skip to content

Commit

Permalink
sd
Browse files Browse the repository at this point in the history
  • Loading branch information
klepi21 committed Oct 19, 2023
1 parent e53aafd commit 4cf1804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Home/components/ExistingUser/ExistingUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function ExistingUser({ address, email, secretWords, userGid }: { address: strin
<Flex justifyContent="space-between" alignItems="center">
<VStack alignItems="start" spacing={2}>
<Text fontSize="lg" color="gray.400">Overview</Text>
<Text fontSize="2xl" color="white">{balance === 0 ? "0 EGLD" : `${balance / Math.pow(10, 18)} EGLD`}</Text>
<Text fontSize="2xl" color="white"> {balance === null ? "Loading..." : balance === 0 ? "0 EGLD" : `${balance / Math.pow(10, 18)} EGLD`}</Text>
<HStack justifyContent="space-between">
<Text fontSize="md" color="gray.400">$835.39 USD</Text>
{/* Add other details like percentage change here */}
Expand Down

0 comments on commit 4cf1804

Please sign in to comment.