We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fa42c8f + 901f028 commit 194a376Copy full SHA for 194a376
src/app/race/RaceTracker.tsx
@@ -18,7 +18,7 @@ export default function RaceTracker({
18
inputLength,
19
user,
20
}: RaceTrackerProps) {
21
- const progress = (inputLength / codeLength) * 100;
+ const progress = ((inputLength / codeLength) * 100) % 100;
22
23
return (
24
<div className="relative mb-5 flex items-center">
0 commit comments