api call ssr landing + latest product + ...
This commit is contained in:
@@ -2,7 +2,7 @@ import Image from 'next/image'
|
||||
import { Calendar, Eye, User } from 'iconsax-react'
|
||||
import LastPost from '../components/LastPost'
|
||||
import { NextPage } from 'next'
|
||||
import withLayout from '@/hoc/withLayout'
|
||||
import Layout from '@/hoc/Layout'
|
||||
|
||||
const BlogDetail: NextPage = () => {
|
||||
return (
|
||||
@@ -127,4 +127,10 @@ const BlogDetail: NextPage = () => {
|
||||
)
|
||||
}
|
||||
|
||||
export default withLayout(BlogDetail)
|
||||
export default function BlogDetailWithLayout() {
|
||||
return (
|
||||
<Layout>
|
||||
<BlogDetail />
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user