api call ssr landing + latest product + ...
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import withLayout from '@/hoc/withLayout'
|
||||
import Layout from '@/hoc/Layout'
|
||||
import { NextPage } from 'next'
|
||||
import Menu from '../components/Menu'
|
||||
import Image from 'next/image'
|
||||
@@ -86,4 +86,10 @@ const Comments: NextPage = () => {
|
||||
)
|
||||
}
|
||||
|
||||
export default withLayout(Comments)
|
||||
export default function CommentsWithLayout() {
|
||||
return (
|
||||
<Layout>
|
||||
<Comments />
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user