"use client";

import dynamic from "next/dynamic";

// The whole app is a client-side React Router SPA whose providers read window/localStorage during
// their initial render -- ssr:false keeps Next's static prerender from ever executing any of it on
// the server. Kept in its own client module so the route's page.tsx can stay a server component
// (generateStaticParams is a server-only export and cannot live in a "use client" file).
const ClientApp = dynamic(() => import("../../src/ClientApp"), { ssr: false });

export default function ClientShell() {
  return <ClientApp />;
}
