api call ssr landing + latest product + ...
This commit is contained in:
@@ -3,7 +3,7 @@ import React, { useState } from 'react'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import Input from '@/components/Input'
|
||||
import { Edit2 } from 'lucide-react'
|
||||
import withLayout from '@/hoc/withLayout'
|
||||
import Layout from '@/hoc/Layout'
|
||||
import { Heart, ShoppingCart } from 'iconsax-react'
|
||||
import Menu from './components/Menu'
|
||||
|
||||
@@ -177,4 +177,10 @@ const ProfilePage = () => {
|
||||
)
|
||||
}
|
||||
|
||||
export default withLayout(ProfilePage)
|
||||
export default function ProfilePageWithLayout() {
|
||||
return (
|
||||
<Layout>
|
||||
<ProfilePage />
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user