Skip to content

Commit 83ae332

Browse files
authored
fix(docs): prefix environment variable for search dialog (#10142)
### Description Forgot that this variable gets used on the frontend, which means I need to prefix it with NEXT_PUBLIC. ### Testing Instructions Try search on the preview.
1 parent faf4877 commit 83ae332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/site/components/search-dialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import FumaSearchDialog from "fumadocs-ui/components/dialog/search-algolia";
77
import { usePathname } from "next/navigation";
88

99
const client = algo(
10-
process.env.ALGOLIA_APP_ID,
10+
process.env.NEXT_PUBLIC_ALGOLIA_APP_ID,
1111
process.env.NEXT_PUBLIC_ALGOLIA_READ_KEY!
1212
);
1313

0 commit comments

Comments
 (0)