Skip to content

Commit

Permalink
hotfix: remove useless dot on timer cue
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilgourgouillon committed Nov 28, 2023
1 parent 6c76db7 commit 6c9a382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TimerCue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useSpeedContext } from "../hooks";
export const TimerCue = () => {
const { speed, secondsElapsed } = useSpeedContext();

const numberOfDots = speed ? speed / 1000: 0;
const numberOfDots = speed ? speed / 1000 - 1: 0;
const dots: React.ReactNode[] = [];

for (let i = 0; i < secondsElapsed; i++) {
Expand Down

0 comments on commit 6c9a382

Please sign in to comment.