From d23b75b27990823040d5184ca802942478305368 Mon Sep 17 00:00:00 2001 From: Luis Zenteno Date: Tue, 26 Sep 2023 13:06:24 -0600 Subject: [PATCH] feat(notice-board): add revalidate to enforce notifications request in home page --- pages/index.js | 1 + pages/my-gfw.js | 1 + 2 files changed, 2 insertions(+) diff --git a/pages/index.js b/pages/index.js index 108dbbf0f0..759ce3004f 100644 --- a/pages/index.js +++ b/pages/index.js @@ -31,6 +31,7 @@ export const getStaticProps = async () => { news: newsArticles || [], notifications: notifications || [], }, + revalidate: 10, }; }; diff --git a/pages/my-gfw.js b/pages/my-gfw.js index 0d5bbfcb75..d48012ca74 100644 --- a/pages/my-gfw.js +++ b/pages/my-gfw.js @@ -23,6 +23,7 @@ export const getStaticProps = async () => { props: { notifications: notifications || [], }, + revalidate: 10, }; };