Skip to content

Commit

Permalink
fix: move revalidate to page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Oct 5, 2023
1 parent 4465126 commit 181349a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/site/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export const revalidate = 60;

export { Home as default } from "@/views";
1 change: 0 additions & 1 deletion apps/site/src/views/Home/sections/FAQ/getQuestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const Questions = z.array(
})
);

export const revalidate = 60;

export const getQuestions = cache(async () => {
return Questions.parse(
Expand Down

0 comments on commit 181349a

Please sign in to comment.