moved force-dynamic into component
All checks were successful
Vercel Preview Deployment / Deploy-Preview (push) Successful in 2m19s
All checks were successful
Vercel Preview Deployment / Deploy-Preview (push) Successful in 2m19s
This commit is contained in:
parent
fda212f8da
commit
39e6d86420
@ -16,6 +16,6 @@ jobs:
|
||||
- name: Pull Vercel Environment Information
|
||||
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Build Project Artifacts
|
||||
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
|
||||
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Deploy Project Artifacts to Vercel
|
||||
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
|
||||
|
@ -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() {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user