fix(web): add dynamic export to rithmomachia page

Attempt to fix "Cannot access 'Z' before initialization" error during
static generation by forcing dynamic rendering.

Note: This doesn't fully resolve the initialization issue, but prevents
build from attempting static generation which causes the error.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-11-03 18:51:20 -06:00
parent 8439727b15
commit 329e623212

View File

@@ -2,6 +2,9 @@
import { rithmomachiaGame } from '@/arcade-games/rithmomachia'
// Force dynamic rendering to avoid build-time initialization errors
export const dynamic = 'force-dynamic'
const { Provider, GameComponent } = rithmomachiaGame
export default function RithmomachiaPage() {