mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
docs: use the default search dialog when no api key is provided (#4417)
This commit is contained in:
@@ -53,7 +53,9 @@ export default function Layout({ children }: { children: ReactNode }) {
|
||||
}}
|
||||
search={{
|
||||
enabled: true,
|
||||
SearchDialog: CustomSearchDialog,
|
||||
SearchDialog: process.env.ORAMA_PRIVATE_API_KEY
|
||||
? CustomSearchDialog
|
||||
: undefined,
|
||||
}}
|
||||
>
|
||||
<NavbarProvider>
|
||||
|
||||
Reference in New Issue
Block a user