buster/web/src/app/embed/metrics/[metricId]/layout.tsx

16 lines
348 B
TypeScript
Raw Normal View History

2025-03-19 00:16:40 +08:00
import { AppAssetCheckLayout } from '@/layouts/AppAssetCheckLayout';
2025-03-19 03:04:21 +08:00
export default async function EmbedMetricsLayout({
2025-03-19 00:16:40 +08:00
children,
params: { metricId }
}: {
children: React.ReactNode;
params: { metricId: string };
}) {
return (
2025-03-19 03:04:21 +08:00
<AppAssetCheckLayout type="metric" assetId={metricId}>
2025-03-19 00:16:40 +08:00
{children}
</AppAssetCheckLayout>
);
}