Skip to content

Commit

Permalink
fix: unstable_noStore added as temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Jan 27, 2024
1 parent a0531aa commit 4d9865a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { unstable_noStore } from "next/cache";
import ControlledTable from "@/components/controlled-table";
import { DEFAULT_PAGE_SIZE } from "@/data/fetch";
import { queryDatabase } from "@/lib/notion";
Expand All @@ -7,6 +8,7 @@ import { initFilters } from "@/utils/filters";
import { transformNotionDataToContributions } from "@/utils/notion";

export default async function Home() {
unstable_noStore();
const filters = initFilters();
const data = await queryDatabase({
page_size: DEFAULT_PAGE_SIZE,
Expand Down

0 comments on commit 4d9865a

Please sign in to comment.