nomadro/components/module-boundary.tsx
eric 9f8fec1723 Ship portal PC/H5 acceptance, VIP ScrollReader, admin analytics and ops anchors.
Adds /api/health, ntfy notify on config save, /admin/analytics charts, and deploy smoke for miniprogram config/API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 23:52:00 -05:00

16 lines
387 B
TypeScript

"use client";
import type { ReactNode } from "react";
import { ModuleGate } from "~/components/module-gate";
import type { NomadroRemoteConfig } from "~/lib/remote-config";
export function ModuleBoundary({
moduleKey,
children,
}: {
moduleKey: keyof NomadroRemoteConfig["modules"];
children: ReactNode;
}) {
return <ModuleGate moduleKey={moduleKey}>{children}</ModuleGate>;
}