fix(GRO-213): resolve 3 type errors blocking CI

- setup.ts:73: cast result.code to 409 to satisfy ContentfulStatusCode
- SetupWizard.jsx: quote CSS rem value (2rem -> "2rem") — inline styles
  require strings for CSS units
- SetupWizard.js: rename to .jsx so Vite can parse JSX (QA requirement)
- App.tsx: update import to .jsx extension
- Add SetupWizard.d.ts type declaration for .jsx module resolution

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
groombook-ci[bot]
2026-03-28 21:04:12 +00:00
committed by Flea Flicker
parent 1c82a75a88
commit 3b1212250a
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ setupRouter.post("/", zValidator("json", setupSchema), async (c) => {
});
if ("error" in result) {
return c.json({ error: result.error }, result.code);
return c.json({ error: result.error }, result.code as 409);
}
return c.json({ ok: true, staff: result.staff }, 201);