fix: Mark account layout as dynamic to prevent static generation
## Problem The account pages (including `/account/api-keys`) were still being statically generated at build time, causing the build to fail with "supabaseKey is required" error. The `export const dynamic = "force-dynamic"` on the individual page wasn't sufficient because the parent layout was still being statically generated. ## Solution Added `export const dynamic = "force-dynamic"` to the account layout (`src/app/(pages)/account/layout.tsx`) to ensure all account pages and their children are rendered dynamically at request time instead of being prerendered at build time.
| Repository | mdelias/mike |
|---|---|
| Author | Railway Agent <agent@railway.com> |
| Authored | |
| Parents | c1ba766c |
| Stats | 1 file changed , +8 , -106 |
| Part of | Railway deployment build fixes |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-28a6fae3.md
from inside the repo you want the change in.