mirror of https://github.com/buster-so/buster.git
18 lines
381 B
TypeScript
18 lines
381 B
TypeScript
import { AppAssetCheckLayout } from '@/layouts/AppAssetCheckLayout';
|
|
|
|
export default async function EmbedMetricsLayout({
|
|
children,
|
|
params
|
|
}: {
|
|
children: React.ReactNode;
|
|
params: Promise<{ metricId: string }>;
|
|
}) {
|
|
const { metricId } = await params;
|
|
|
|
return (
|
|
<AppAssetCheckLayout type="metric" assetId={metricId}>
|
|
{children}
|
|
</AppAssetCheckLayout>
|
|
);
|
|
}
|