Skip to content

Commit

Permalink
feat(notice-board): add revalidate to enforce notifications request i…
Browse files Browse the repository at this point in the history
…n home page
  • Loading branch information
wri7tno committed Sep 26, 2023
1 parent fb9e104 commit d23b75b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const getStaticProps = async () => {
news: newsArticles || [],
notifications: notifications || [],
},
revalidate: 10,
};
};

Expand Down
1 change: 1 addition & 0 deletions pages/my-gfw.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const getStaticProps = async () => {
props: {
notifications: notifications || [],
},
revalidate: 10,
};
};

Expand Down

0 comments on commit d23b75b

Please sign in to comment.