From 05fdd05d9b35adf82ea247ffadbb6a5797f3e335 Mon Sep 17 00:00:00 2001 From: Duyet Le Date: Tue, 21 Nov 2023 18:29:06 +0700 Subject: [PATCH] chore: fix dynamic --- app/layout.tsx | 2 ++ app/tables/page.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/layout.tsx b/app/layout.tsx index 36616a09..7ff12f01 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -13,6 +13,8 @@ export const metadata: Metadata = { description: 'Simple UI for ClickHouse Monitoring', } +export const dynamic = 'force-dynamic' + export default function RootLayout({ children, }: { diff --git a/app/tables/page.tsx b/app/tables/page.tsx index 2ea0da67..b2e5e5be 100644 --- a/app/tables/page.tsx +++ b/app/tables/page.tsx @@ -4,7 +4,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs' import { DataTable } from '@/components/data-table/data-table' export const dynamic = 'force-dynamic' -export const revalidate = 5 +export const revalidate = 0 const config: QueryConfig = { name: 'tables',