diff --git a/app/(platform)/(clerk)/sign-in/[[...signin]]/page.tsx b/app/(platform)/(clerk)/sign-in/[[...signin]]/page.tsx
index 53e59aa..e25a103 100644
--- a/app/(platform)/(clerk)/sign-in/[[...signin]]/page.tsx
+++ b/app/(platform)/(clerk)/sign-in/[[...signin]]/page.tsx
@@ -1,5 +1,5 @@
import { SignIn } from '@clerk/nextjs';
export default function Page() {
- return ;
+ return ;
}
diff --git a/app/(platform)/(clerk)/sign-up/[[...sign-up]]/page.tsx b/app/(platform)/(clerk)/sign-up/[[...sign-up]]/page.tsx
index 7bf1b23..ffddd06 100644
--- a/app/(platform)/(clerk)/sign-up/[[...sign-up]]/page.tsx
+++ b/app/(platform)/(clerk)/sign-up/[[...sign-up]]/page.tsx
@@ -1,5 +1,5 @@
import { SignUp } from '@clerk/nextjs';
export default function Page() {
- return ;
+ return ;
}
diff --git a/app/(platform)/(dashboard)/layout.tsx b/app/(platform)/(dashboard)/layout.tsx
index 7c9e054..2e8caf6 100644
--- a/app/(platform)/(dashboard)/layout.tsx
+++ b/app/(platform)/(dashboard)/layout.tsx
@@ -1,6 +1,10 @@
+import { auth } from '@clerk/nextjs/server';
+
import { Navbar } from './_components/Navbar';
const DashbordLayout = ({ children }: { children: React.ReactNode }) => {
+ auth().protect();
+
return (
diff --git a/app/(platform)/(dashboard)/organization/[organizationId]/_components/board-list.tsx b/app/(platform)/(dashboard)/organization/[organizationId]/_components/board-list.tsx
index 74342c8..96e8f06 100644
--- a/app/(platform)/(dashboard)/organization/[organizationId]/_components/board-list.tsx
+++ b/app/(platform)/(dashboard)/organization/[organizationId]/_components/board-list.tsx
@@ -25,7 +25,6 @@ export const BoardList = async () => {
orderBy: {
createdAt: 'desc',
},
- cacheStrategy: { ttl: 30, swr: 60 },
});
const availableCount = await getAvailableCount();
diff --git a/app/(platform)/layout.tsx b/app/(platform)/layout.tsx
index 3afccdb..3f66139 100644
--- a/app/(platform)/layout.tsx
+++ b/app/(platform)/layout.tsx
@@ -1,13 +1,10 @@
import { Toaster } from 'sonner';
-import { auth } from '@clerk/nextjs/server';
import { ClerkProvider } from '@clerk/nextjs';
import { ModalProvider } from '@/components/providers/modal-provider';
import { QueryProvider } from '@/components/providers/query-provider';
const PlatformLayout = ({ children }: { children: React.ReactNode }) => {
- auth().protect();
-
return (