mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 16:07:01 +00:00
16 lines
411 B
TypeScript
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} />;
|
|
</>
|
|
);
|
|
}
|