commerce/components/pages/home-page.tsx
2023-08-18 15:31:44 +02:00

16 lines
411 B
TypeScript

import DynamicContentManager from '@/components/layout/dynamic-content-manager/dynamic-content-manager';
import type { HomePagePayload } from '@/lib/sanity/sanity.types';
interface IndexPageParams {
data: HomePagePayload | null;
}
export default function HomePage({ data }: IndexPageParams) {
// console.log(data);
return (
<>
<DynamicContentManager content={data?.content} />;
</>
);
}