Skip to content

Commit

Permalink
Merge pull request #40 from dmccartney/daniel-rpl-staked-rpip30
Browse files Browse the repository at this point in the history
feat: redesigned rpl stake chart for rpip30
  • Loading branch information
dmccartney authored Apr 17, 2024
2 parents baff82b + c462473 commit a12a570
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 205 deletions.
6 changes: 2 additions & 4 deletions web/src/components/CurrencyValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const typeVariantBySize = {
};
export default function CurrencyValue({
value = ethers.constants.Zero,
valueColor = (theme) => theme.palette.text.primary,
prefix = "",
currency = "eth",
perCurrency = null,
Expand Down Expand Up @@ -62,10 +63,7 @@ export default function CurrencyValue({
spacing={typeVariants.spacing}
{...props}
>
<Typography
variant={typeVariants.value}
color={(theme) => theme.palette.text.primary}
>
<Typography variant={typeVariants.value} color={valueColor}>
{prefix}
{valueText}
</Typography>
Expand Down
Loading

0 comments on commit a12a570

Please sign in to comment.