From 5ee92e778436f53db0cdeac22db3405144dc427f Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 20 Sep 2024 15:36:04 +0200 Subject: [PATCH] Remove unused variable --- src/components/Stepper/Stepper.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Stepper/Stepper.tsx b/src/components/Stepper/Stepper.tsx index e54bac8..21347ff 100644 --- a/src/components/Stepper/Stepper.tsx +++ b/src/components/Stepper/Stepper.tsx @@ -77,8 +77,6 @@ export function Stepper({ duration = 500, onNextStep, }: Props) { - const label = state.step === titles.length - 1 ? "Finish" : "Next"; - const onChangeStep = async (nextStep: number) => { if (nextStep < 0) { return dispatch({