mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Iterated with translations
This commit is contained in:
19
app/[locale]/[[...slug]]/single-page.tsx
Normal file
19
app/[locale]/[[...slug]]/single-page.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
'use client'
|
||||
|
||||
import dynamic from 'next/dynamic'
|
||||
|
||||
const DynamicContentManager = dynamic(
|
||||
() => import('components/ui/dynamic-content-manager')
|
||||
)
|
||||
|
||||
interface SinglePageProps {
|
||||
data: any
|
||||
}
|
||||
|
||||
const SinglePage = ({ data }: SinglePageProps) => {
|
||||
return (
|
||||
<DynamicContentManager content={data?.content} />
|
||||
)
|
||||
}
|
||||
|
||||
export default SinglePage
|
Reference in New Issue
Block a user