Skip to content

Commit

Permalink
chore: add percent chart drep
Browse files Browse the repository at this point in the history
  • Loading branch information
DinhTran committed Apr 4, 2024
1 parent 0b48ea5 commit cff5402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/DrepDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ const VoteBar = ({
}) => (
<Box display="flex" flexDirection="column" alignItems="center">
<Typography fontSize="10px" fontWeight={400}>
{percentage}
{!percentage ? "0%" : percentage}
</Typography>
<LightTooltip
title={
Expand Down

0 comments on commit cff5402

Please sign in to comment.