Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

822 B
Raw Blame
// GENERATED by scripts/i18n/generate-route-namespaces.mjs — do not edit by hand.
import { SectionI18nProvider } from "@/i18n/SectionI18nProvider";
import sectionNamespaces from "@/i18n/routeNamespaces.generated.json";

/**
 * Home route (`/home`) i18n provider — the "home" set covers the home page,
 * the sponsor banners and the companion components under
 * `src/app/(dashboard)/dashboard/` that it renders. Without this layout the
 * route inherits the dashboard chrome provider, whose namespace set is missing
 * "home" and every banner namespace, so next-intl renders MISSING_MESSAGE
 * errors in production (#16321).
 */
export default function HomeRouteLayout({ children }: { children: React.ReactNode }) {
  return <SectionI18nProvider namespaces={sectionNamespaces.home}>{children}</SectionI18nProvider>;
}