Skip to content

fix(frontend): UI issue fixes - #2

Merged
adLahiru merged 1 commit into
specfor:devfrom
adLahiru:fix/UI
Jul 22, 2026
Merged

fix(frontend): UI issue fixes#2
adLahiru merged 1 commit into
specfor:devfrom
adLahiru:fix/UI

Conversation

@adLahiru

@adLahiru adLahiru commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix the Next.js 500 caused by passing the MUI theme (with functions) from a Server Component into ThemeProvider
  • Add a client ThemeRegistry and replace the Create Next App starter with a temporary CivicLens development scaffold
  • Point Turbopack root at the frontend package in this monorepo

Test plan

  • cd frontend && npm run dev loads http://localhost:3000 without SSR errors
  • Home page shows CivicLens temporary scaffold (not Next.js starter)
  • npm run test -- src/app/page.test.tsx passes

Made with Cursor

Move ThemeProvider into a client ThemeRegistry.
Replace the Next.js starter page with a temporary CivicLens UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@adLahiru
adLahiru requested a review from specfor July 22, 2026 15:28
@adLahiru adLahiru changed the title fix(frontend): resolve MUI theme SSR crash and add scaffold home fix(frontend): UI issue fixes Jul 22, 2026
@adLahiru
adLahiru merged commit 9ccd56d into specfor:dev Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants