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

Commit 6417163

Browse files
committed
lagt på logikk for å gå direkte til aktivitet etter landingssiden hvis man har aktivitet fra ffør
1 parent 0004fe5 commit 6417163

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/pages/form.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@ export default function Page() {
170170
shouldGoToStep = 1;
171171
}
172172
}
173+
if (currentStep == 1) {
174+
if (hasActivity()) {
175+
shouldGoToStep = 3;
176+
}
177+
}
173178
if (currentStep == 2 && !questionWork) {
174179
shouldGoToStep = 4;
175180
}

0 commit comments

Comments
 (0)