mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
15 lines
392 B
TypeScript
15 lines
392 B
TypeScript
import DynamicContentManager from '@/components/layout/dynamic-content-manager/dynamic-content-manager';
|
|
import type { HomePagePayload } from '@/lib/sanity/sanity.types';
|
|
|
|
export type IndexPageParams = {
|
|
data: HomePagePayload | null;
|
|
};
|
|
|
|
export default function HomePage({ data }: IndexPageParams) {
|
|
return (
|
|
<>
|
|
<DynamicContentManager content={data?.content} />;
|
|
</>
|
|
);
|
|
}
|