We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa42c8f commit 901f028Copy full SHA for 901f028
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