Fix: force-dynamic on all pages to prevent build-time DB queries
Deploy / deploy (push) Failing after 1m1s

This commit is contained in:
twotalesanimation
2026-08-18 12:46:09 +02:00
parent 76ca160c90
commit dd83dbb0c7
12 changed files with 24 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getClient } from "@/actions/clients";
import { ClientForm } from "@/components/clients/client-form";
import { notFound } from "next/navigation";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getClients } from "@/actions/clients";
import { ClientsTable } from "@/components/clients/clients-table";
import { Button } from "@/components/ui/button";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { notFound } from "next/navigation";
import { getInvoice } from "@/actions/invoices";
import { InvoiceForm } from "@/components/invoices/invoice-form";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { notFound } from "next/navigation";
import { getInvoice } from "@/actions/invoices";
import { InvoiceDetail } from "@/components/invoices/invoice-detail";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { InvoiceForm } from "@/components/invoices/invoice-form";
import { prisma } from "@/lib/prisma";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getInvoices } from "@/actions/invoices";
import { InvoicesClient } from "@/components/invoices/invoices-client";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getJob } from "@/actions/jobs";
import { getClients } from "@/actions/clients";
import { getRateCards } from "@/actions/rate-cards";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getClients } from "@/actions/clients";
import { JobForm } from "@/components/jobs/job-form";
import Link from "next/link";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getJobs } from "@/actions/jobs";
import { JobsTable } from "@/components/jobs/jobs-table";
import { Button } from "@/components/ui/button";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { prisma } from "@/lib/prisma";
import { DashboardStats } from "@/components/dashboard/stats";
import { RecentJobs } from "@/components/dashboard/recent-jobs";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getAllRateCards } from "@/actions/rate-cards";
import { RateCardsClient } from "@/components/rate-cards/rate-cards-client";
+2
View File
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';
import { getStudioSettings } from "@/actions/settings";
import { SettingsForm } from "@/components/settings/settings-form";
import { Settings } from "lucide-react";