Skip to content

Commit

Permalink
Prefer const over let
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianKniephoff committed Jun 4, 2024
1 parent 38be9eb commit 959acee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/shared/wizard/WizardStepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const WizardStepper = ({
}

if (formik.isValid) {
let updatedCompleted = completed;
const updatedCompleted = completed;
updatedCompleted[page] = true;
setCompleted(updatedCompleted);
setPage(key);
Expand Down

0 comments on commit 959acee

Please sign in to comment.