feat(staples): A3/D3 — Pantry staples toggle UI #35

Merged
marcel merged 17 commits from feat/issue-20-pantry-staples into master 2026-04-03 09:35:03 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d68a9d9312 - Show all commits

View File

@@ -34,6 +34,6 @@ export const actions = {
}); });
} }
throw redirect(303, '/household/staples'); throw redirect(303, '/household/staples?ctx=onboarding');
} }
} satisfies Actions; } satisfies Actions;

View File

@@ -97,7 +97,7 @@ describe('household setup — form action', () => {
expect.unreachable(); expect.unreachable();
} catch (e: any) { } catch (e: any) {
expect(e.status).toBe(303); expect(e.status).toBe(303);
expect(e.location).toBe('/household/staples'); expect(e.location).toBe('/household/staples?ctx=onboarding');
} }
}); });