Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
roycechua committed Jan 18, 2024
1 parent 94ae9d2 commit 7895e3f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Pomodoro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ import { ModeType } from '../types';
export default function Countdown() {
// const [globalAppState, dispatch] = useGlobalAppState();
const [mode, setMode] = useState<ModeType>('work');
const { play: playSound, stop: stopSound } = useAudio(
'alarms/break_alarm2.mp3',
false
);
const { play: playSound } = useAudio('alarms/break_alarm2.mp3', false);

return (
<>
Expand Down

0 comments on commit 7895e3f

Please sign in to comment.