From 7895e3f032f181fa2eb1ca004fa3be5da73519c4 Mon Sep 17 00:00:00 2001 From: Royce Date: Thu, 18 Jan 2024 22:19:02 +0800 Subject: [PATCH] Remove unused variable --- src/components/Pomodoro.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Pomodoro.tsx b/src/components/Pomodoro.tsx index 89eb8b5..0a10068 100644 --- a/src/components/Pomodoro.tsx +++ b/src/components/Pomodoro.tsx @@ -14,10 +14,7 @@ import { ModeType } from '../types'; export default function Countdown() { // const [globalAppState, dispatch] = useGlobalAppState(); const [mode, setMode] = useState('work'); - const { play: playSound, stop: stopSound } = useAudio( - 'alarms/break_alarm2.mp3', - false - ); + const { play: playSound } = useAudio('alarms/break_alarm2.mp3', false); return ( <>