Fix: force-dynamic on all pages to prevent build-time DB queries
Deploy / deploy (push) Failing after 1m1s
Deploy / deploy (push) Failing after 1m1s
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
import { InvoiceForm } from "@/components/invoices/invoice-form";
|
||||
import { prisma } from "@/lib/prisma";
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
import { getInvoices } from "@/actions/invoices";
|
||||
import { InvoicesClient } from "@/components/invoices/invoices-client";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
import { getAllRateCards } from "@/actions/rate-cards";
|
||||
import { RateCardsClient } from "@/components/rate-cards/rate-cards-client";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user