Fix issue with search not working

This commit is contained in:
Morgan Dean
2025-08-16 20:52:57 +02:00
parent a34dbfbc22
commit 696c675718

View File

@@ -14,7 +14,9 @@ export default function Layout({ children }: { children: ReactNode }) {
<link rel="icon" href="/docs/favicon.ico" sizes="any" />
</head>
<body className="flex min-h-screen flex-col">
<RootProvider>{children}</RootProvider>
<RootProvider search={{ options: { api: '/docs/api/search' } }}>
{children}
</RootProvider>
</body>
</html>
);