We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde5456 commit f5eefaaCopy full SHA for f5eefaa
document/components/CustomSearchDialog.tsx
@@ -18,7 +18,7 @@ import { useI18n } from 'fumadocs-ui/contexts/i18n';
18
console.log({
19
NEXT_PUBLIC_SEARCH_APPID: process.env.NEXT_PUBLIC_SEARCH_APPID,
20
NEXT_PUBLIC_SEARCH_APPKEY: process.env.NEXT_PUBLIC_SEARCH_APPKEY
21
-})
+});
22
if (!process.env.NEXT_PUBLIC_SEARCH_APPID || !process.env.NEXT_PUBLIC_SEARCH_APPKEY) {
23
throw new Error('NEXT_PUBLIC_SEARCH_APPID and NEXT_PUBLIC_SEARCH_APPKEY are not set');
24
}
document/components/docs/not-found.tsx
@@ -41,5 +41,5 @@ export default function NotFound() {
41
redirect('/docs/introduction');
42
}, [pathname]);
43
44
- return;
+ return <></>;
45
0 commit comments