From 5395fa2df6474c2e8bd05095e2f53736c1a738e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez?= Date: Wed, 11 Sep 2024 19:38:55 +0200 Subject: [PATCH] Completed grants no cache. Link --- packages/nextjs/app/admin/page.tsx | 11 ++++++++--- packages/nextjs/app/completed-grants/page.tsx | 6 ++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/packages/nextjs/app/admin/page.tsx b/packages/nextjs/app/admin/page.tsx index 84c34d9..23c2340 100644 --- a/packages/nextjs/app/admin/page.tsx +++ b/packages/nextjs/app/admin/page.tsx @@ -196,9 +196,14 @@ const AdminPage = () => { return (
{isLoading && } - - Active Grants > - +
+ + Active Grants > + + + Completed Grants > + +
{grants && (
diff --git a/packages/nextjs/app/completed-grants/page.tsx b/packages/nextjs/app/completed-grants/page.tsx index 79ca808..982ea6a 100644 --- a/packages/nextjs/app/completed-grants/page.tsx +++ b/packages/nextjs/app/completed-grants/page.tsx @@ -1,8 +1,10 @@ import { CompletedGrants } from "../_components/CompletedGrants"; import { NextPage } from "next"; -const SubmitGrant: NextPage = () => { +export const dynamic = "force-dynamic"; + +const CompletedGrantsPage: NextPage = () => { return ; }; -export default SubmitGrant; +export default CompletedGrantsPage;