Skip to content

Commit

Permalink
fix(TokenInfo): properly truncate text
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Mar 2, 2023
1 parent 13fc3b3 commit f3cf262
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ const TokenInfo = ({
</SkeletonCircle>

<Stack spacing={1.5} maxW="calc(100% - 3rem)" alignItems={"flex-start"}>
<Skeleton isLoaded={!isTokenDataLoading && !isLoading} h={5}>
<Skeleton isLoaded={!isTokenDataLoading && !isLoading} w="full" h={5}>
<Text as="span" display="block" isTruncated>
{error
{tokenDataError
? "Couldn't fetch token data"
: error
? `[?] ${symbol}`
Expand Down

0 comments on commit f3cf262

Please sign in to comment.