Skip to content

Commit

Permalink
Completed grants no cache. Link
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Sep 11, 2024
1 parent 09562e7 commit 5395fa2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
11 changes: 8 additions & 3 deletions packages/nextjs/app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,14 @@ const AdminPage = () => {
return (
<div className="container mx-auto mt-12 max-w-[95%]">
{isLoading && <span className="loading loading-spinner"></span>}
<Link href="/active-grants" className="block mb-2 link text-right">
Active Grants &gt;
</Link>
<div className="flex flex-col">
<Link href="/active-grants" className="block mb-2 link text-right">
Active Grants &gt;
</Link>
<Link href="/completed-grants" className="block mb-2 link text-right">
Completed Grants &gt;
</Link>
</div>
{grants && (
<div className="flex flex-col lg:flex-row gap-12 mt-4">
<div className="p-8 bg-warning/5 lg:w-1/2">
Expand Down
6 changes: 4 additions & 2 deletions packages/nextjs/app/completed-grants/page.tsx
Original file line number Diff line number Diff line change
@@ -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 <CompletedGrants />;
};

export default SubmitGrant;
export default CompletedGrantsPage;

0 comments on commit 5395fa2

Please sign in to comment.