Skip to content

Commit

Permalink
Update CurrentOnArtOverview.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Mar 11, 2024
1 parent 8754f80 commit e1622d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/CT/CurrentOnArt/CurrentOnArtOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ const CurrentOnArtOverview = () => {
currentOnArtOverviewSelectors.getCurrentOnArtVerified
);
const currentOnArtVerifiedPercent = currentOnArt
? roundNumber(((currentOnArtVerified / currentOnArt) * 100), 2)
? (currentOnArtVerified / currentOnArt) * 100
: 0;
const currentOnArtNotVerifiedPercent = currentOnArt
? roundNumber((((currentOnArt - currentOnArtVerified) / currentOnArt) * 100), 2)
? ((currentOnArt - currentOnArtVerified) / currentOnArt) * 100
: 0;

return (
Expand All @@ -42,7 +42,7 @@ const CurrentOnArtOverview = () => {
<DataCardCT
title={'VERIFIED AND CURRENT ON ART'}
subtitle={
roundNumber(currentOnArtVerifiedPercent) + '%'
roundNumber(currentOnArtVerifiedPercent, 2) + '%'
}
data={formatNumber(currentOnArtVerified)}
/>
Expand All @@ -55,7 +55,7 @@ const CurrentOnArtOverview = () => {
<DataCardCT
title="NOT VERIFIED AND CURRENT ON ART"
subtitle={
roundNumber(currentOnArtNotVerifiedPercent) + '%'
roundNumber(currentOnArtNotVerifiedPercent, 2) + '%'
}
data={formatNumber(currentOnArt - currentOnArtVerified)}
/>
Expand Down

0 comments on commit e1622d3

Please sign in to comment.