Skip to content

Commit 44f1fa1

Browse files
committed
fix: periodical ISR
1 parent c30fa4c commit 44f1fa1

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/components/rankTable/RankTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const RankSearchBar = ({
137137

138138
return (
139139
<div className='mb-2 flex items-center justify-between rounded-lg border bg-gray-50 py-2 px-2 shadow dark:border-gray-700 dark:bg-gray-800 dark:shadow-gray-800'>
140-
<div className=' justify-items-start'>
140+
<div className='justify-items-start'>
141141
<Dropdown
142142
options={typeOptions}
143143
initValue={target}
@@ -155,7 +155,7 @@ export const RankSearchBar = ({
155155
</span>
156156
</div>
157157
</div>
158-
<div className=' justify-items-end'>
158+
<div className='justify-items-end'>
159159
<Dropdown
160160
initValue={month}
161161
size='small'

src/components/respository/Info.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ const Info = ({ repo, t, i18n_lang }: RepositoryProps) => {
457457
<span>{t('info.opensource')}</span>
458458
<span className='mx-0.5 md:mx-1.5'></span>
459459
<NoPrefetchLink href={`/license/${repo.license_lid}`}>
460-
<span className='inline-flex max-w-[60px] cursor-pointer overflow-hidden text-ellipsis whitespace-nowrap text-blue-500 md:max-w-full'>
460+
<span className='inline-flex max-w-[65px] cursor-pointer overflow-hidden text-ellipsis whitespace-nowrap text-blue-500 md:max-w-full'>
461461
{repo.license}
462462
</span>
463463
</NoPrefetchLink>

src/pages/periodical/volume/[id].tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,5 @@ export async function getStaticProps({ params, locale }: any) {
372372
volume,
373373
...(await serverSideTranslations(locale, ['common', 'periodical'])),
374374
},
375-
revalidate: 60,
376375
};
377376
}

0 commit comments

Comments
 (0)