From 44f1fa1a84dfa08cf80b41a7eb789f1a6c57253b Mon Sep 17 00:00:00 2001 From: xueweihan <595666367@qq.com> Date: Wed, 28 Aug 2024 15:29:56 +0800 Subject: [PATCH] fix: periodical ISR --- src/components/rankTable/RankTable.tsx | 4 ++-- src/components/respository/Info.tsx | 2 +- src/pages/periodical/volume/[id].tsx | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/rankTable/RankTable.tsx b/src/components/rankTable/RankTable.tsx index 0c1e2a3..e8dab1f 100644 --- a/src/components/rankTable/RankTable.tsx +++ b/src/components/rankTable/RankTable.tsx @@ -137,7 +137,7 @@ export const RankSearchBar = ({ return (
-
+
-
+
{ {t('info.opensource')} - + {repo.license} diff --git a/src/pages/periodical/volume/[id].tsx b/src/pages/periodical/volume/[id].tsx index 279928a..f31f04d 100644 --- a/src/pages/periodical/volume/[id].tsx +++ b/src/pages/periodical/volume/[id].tsx @@ -372,6 +372,5 @@ export async function getStaticProps({ params, locale }: any) { volume, ...(await serverSideTranslations(locale, ['common', 'periodical'])), }, - revalidate: 60, }; }