fix: Force dynamic rendering on home page to avoid Prisma build error
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
import { Dashboard } from '@/components/dashboard'
|
import { Dashboard } from '@/components/dashboard'
|
||||||
import { getDashboardData } from '@/lib/dashboard'
|
import { getDashboardData } from '@/lib/dashboard'
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic'
|
||||||
|
|
||||||
export default async function HomePage() {
|
export default async function HomePage() {
|
||||||
const data = await getDashboardData(6)
|
const data = await getDashboardData(6)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user