ssg to ssr
This commit is contained in:
@@ -13,6 +13,8 @@ import { Suspense } from 'react'
|
||||
import PageLoading from '@/components/PageLoading'
|
||||
import { getLandingQueryOptions } from './home/hooks/useHomeData'
|
||||
|
||||
export const dynamic = 'force-dynamic'
|
||||
|
||||
const HomePage: NextPage = () => {
|
||||
|
||||
return (
|
||||
|
||||
@@ -5,6 +5,8 @@ import { HydrationBoundary, QueryClient, dehydrate } from '@tanstack/react-query
|
||||
import { Suspense } from 'react'
|
||||
import PageLoading from '@/components/PageLoading'
|
||||
|
||||
export const dynamic = 'force-dynamic'
|
||||
|
||||
interface SingleProductPageProps {
|
||||
params: Promise<{ id: string }>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user