fix: enable Go to Dashboard button on setup wizard final step (#201)

The button was permanently disabled on Step 5 because canGoNext is false
when step === STEPS.length - 1. Changed disabled condition to
(!canGoNext && !isLast) so the final step bypasses canGoNext validation
while preserving it on steps 1-4.

Fixes GRO-373

Co-authored-by: Barkley Trimsworth <barkley@groombook.farh.net>
Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit was merged in pull request #201.
This commit is contained in:
groombook-engineer[bot]
2026-04-01 21:15:06 +00:00
committed by GitHub
parent 60b28dadf9
commit 84097e57e4
+1 -1
View File
@@ -204,7 +204,7 @@ export function SetupWizard() {
)}
<button
onClick={handleNext}
disabled={!canGoNext || loading}
disabled={(!canGoNext && !isLast) || loading}
style={{
padding: "0.55rem 1.25rem",
borderRadius: 8,