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>
  );
}
