From bfa7518e409d3bcbee5d05649be6ee4639b10b01 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Thu, 10 Nov 2022 15:16:32 +1300 Subject: [PATCH] Remove unused variables in StartPlan --- StartPlan.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/StartPlan.tsx b/StartPlan.tsx index 72d4309..91362ba 100644 --- a/StartPlan.tsx +++ b/StartPlan.tsx @@ -115,15 +115,6 @@ export default function StartPlan() { toast('Commas and single quotes would break CSV exports') }, []) - const saveText = useMemo(() => { - if (minutes === '00' && seconds === '00') return 'Save' - return `Resting ${minutes}:${seconds}` - }, [minutes, seconds]) - - const progress = useMemo(() => { - return (Number(minutes) * 60 + Number(seconds)) / 210 - }, [minutes, seconds]) - return ( <> @@ -174,7 +165,7 @@ export default function StartPlan() {