import { notFound } from "next/navigation";
import { getPublicTenant } from "@/lib/public-tenant";
import { StoreShell } from "@/components/store-shell";
export default async function SiteLayout({children,params}:{children:React.ReactNode;params:Promise<{host:string}>}){const {host}=await params;const tenant=await getPublicTenant(host);if(!tenant)notFound();return <StoreShell tenant={tenant} host={host}>{children}</StoreShell>}
