From 959aceea3881e42487509baa2cb1fba88bb13223 Mon Sep 17 00:00:00 2001 From: Julian Kniephoff Date: Tue, 4 Jun 2024 14:29:33 +0200 Subject: [PATCH] Prefer `const` over `let` --- src/components/shared/wizard/WizardStepper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/shared/wizard/WizardStepper.tsx b/src/components/shared/wizard/WizardStepper.tsx index eee9c07a95..0bb2a95b44 100644 --- a/src/components/shared/wizard/WizardStepper.tsx +++ b/src/components/shared/wizard/WizardStepper.tsx @@ -52,7 +52,7 @@ const WizardStepper = ({ } if (formik.isValid) { - let updatedCompleted = completed; + const updatedCompleted = completed; updatedCompleted[page] = true; setCompleted(updatedCompleted); setPage(key);