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 51268f1 commit 2e68a6fCopy full SHA for 2e68a6f
document/components/CustomSearchDialog.tsx
@@ -15,10 +15,6 @@ import {
15
} from 'fumadocs-ui/components/dialog/search';
16
import { useI18n } from 'fumadocs-ui/contexts/i18n';
17
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