Closed ramirc5 closed 1 year ago
Why is 99.9 hard coded in here instead of the variable totalPercent? @ramirc5
totalPercent
if (totalPercent !== null) { setVoteTotals(`${Math.floor(99.9)}%`); }
Leftover from testing. Fixed to be the proper variable being rounded down.
Why is 99.9 hard coded in here instead of the variable
totalPercent
? @ramirc5