Skip to content

Commit

Permalink
2dp add to art verification calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Mar 11, 2024
1 parent 8f6bcad commit 8754f80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/CT/CurrentOnArt/CurrentOnArtOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ import DataCardCT from '../../Shared/DataCardCT';

const CurrentOnArtOverview = () => {
const currentOnArt = useSelector(currentOnArtSelectors.getCurrentOnArt);

const currentOnArtVerified = useSelector(
currentOnArtOverviewSelectors.getCurrentOnArtVerified
);
const currentOnArtVerifiedPercent = currentOnArt
? (currentOnArtVerified / currentOnArt) * 100
? roundNumber(((currentOnArtVerified / currentOnArt) * 100), 2)
: 0;
const currentOnArtNotVerifiedPercent = currentOnArt
? ((currentOnArt - currentOnArtVerified) / currentOnArt) * 100
? roundNumber((((currentOnArt - currentOnArtVerified) / currentOnArt) * 100), 2)
: 0;

return (
Expand Down

0 comments on commit 8754f80

Please sign in to comment.