Skip to content

Commit

Permalink
Merge pull request #3417 from cardano-foundation/fix/ui-vote-drep-poo…
Browse files Browse the repository at this point in the history
…ldetails-2

Fix/UI vote drep pooldetails
  • Loading branch information
Sotatek-TaiTruong committed May 6, 2024
2 parents 713745a + 899758c commit 3d8011c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/GovernanceVotes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ const VoteRate = ({ data }: { data?: GovernanceVoteChart | VotingChart | null })
)
: 0
}
color={theme.palette.error[700]}
color={theme.isDark ? theme.palette.error[100] : theme.palette.error[700]}
icon={<VotesNoIcon />}
label={t("common.no")}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/DrepDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ const VoteRate = ({ data, loading }: { data: DrepOverviewChart | null; loading:
)
: 0
}
color={theme.palette.error[700]}
color={theme.isDark ? theme.palette.error[100] : theme.palette.error[700]}
icon={<VotesNoIcon />}
label={t("common.no")}
/>
Expand Down

0 comments on commit 3d8011c

Please sign in to comment.