moved force-dynamic into component
All checks were successful
Vercel Preview Deployment / Deploy-Preview (push) Successful in 2m19s

This commit is contained in:
christian 2024-05-25 09:11:48 +02:00
parent fda212f8da
commit 39e6d86420
3 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,7 @@
import { getWines } from "~/server/actions/allWines";
import WineName from "./WineName";
import WineProducer from "./WineProducer";
export const dynamic = "force-dynamic";
const allWines = await getWines();
export default async function WineCards() {

View File

@ -1,10 +1,5 @@
import { Suspense } from "react";
import CreateWine from "./_components/CreateWine";
import WineCards from "./_components/WineCards";
import App from "./_components/App";
export const dynamic = "force-dynamic";
export default async function HomePage() {
return (
<main>