Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 'use client' import dynamicImport from 'next/dynamic' // Opt-out of static generation due to ES module dependencies in map data export const dynamic = 'force-dynamic' // Dynamically import the game with SSR disabled to avoid ES module loading issues during build const KnowYourWorldGame = dynamicImport( async () => { const { knowYourWorldGame } = await import('@/arcade-games/know-your-world') const { Provider, GameComponent } = knowYourWorldGame return function Game() { return ( <Provider> <GameComponent /> </Provider> ) } }, { ssr: false, loading: () => <div>Loading...</div> } ) export default function KnowYourWorldPage() { return <KnowYourWorldGame /> } |