refactor: fetch versions on the client

This commit is contained in:
iCrawl
2023-12-20 23:21:49 +01:00
parent d869d9b3fe
commit 7b5c31b2bc
7 changed files with 105 additions and 64 deletions

View File

@@ -12,8 +12,6 @@ import { resolveItemURI } from '~/components/documentation/util';
import { N_RECENT_VERSIONS, PACKAGES } from '~/util/constants';
import { Providers } from './providers';
export const revalidate = 0;
const Header = dynamic(async () => import('~/components/Header'));
const Footer = dynamic(async () => import('~/components/Footer'));