Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.

Commit 94963fb

Browse files
committed
linting
1 parent e71df43 commit 94963fb

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/components/StepFillDays.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ export default function StepFillDays(props: CommonFormProps) {
2929
// Check form
3030
const checkForm = (event: FormEvent) => {
3131
setIsChecked(true);
32-
33-
if (true) {
34-
nextStep(event);
35-
}
32+
nextStep(event);
3633
};
3734

3835
// Render

src/pages/form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export default function Page() {
154154
};
155155

156156
const calculateStep = () => {
157-
var shouldGoToStep = currentStep + 1;
157+
let shouldGoToStep = currentStep + 1;
158158
if (currentStep == 0) {
159159
if (hasActivity()) {
160160
shouldGoToStep = 3;

0 commit comments

Comments
 (0)