mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 05:56:59 +00:00
20 lines
345 B
TypeScript
20 lines
345 B
TypeScript
'use client'
|
|
|
|
import dynamic from 'next/dynamic'
|
|
|
|
const DynamicContentManager = dynamic(
|
|
() => import('components/layout/dynamic-content-manager')
|
|
)
|
|
|
|
interface SinglePageProps {
|
|
data: any
|
|
}
|
|
|
|
const SinglePage = ({ data }: SinglePageProps) => {
|
|
return (
|
|
<DynamicContentManager content={data?.content} />
|
|
)
|
|
}
|
|
|
|
export default SinglePage
|