File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- import { source } from "@/lib/source" ;
21import { createFromSource } from "fumadocs-core/search/server" ;
2+ import { source } from "@/lib/source" ;
33
44// statically cached
55export const revalidate = false ;
Original file line number Diff line number Diff line change 11import "@/app/global.css" ;
2- import { Provider } from "./provider" ;
32import { Inter } from "next/font/google" ;
43import type { ReactNode } from "react" ;
4+ import { Provider } from "./provider" ;
55
66const inter = Inter ( {
77 subsets : [ "latin" ] ,
Original file line number Diff line number Diff line change 11"use client" ;
22import { RootProvider } from "fumadocs-ui/provider" ;
3- import SearchDialog from "@/components/search" ;
43import type { ReactNode } from "react" ;
4+ import SearchDialog from "@/components/search" ;
55
66export function Provider ( { children } : { children : ReactNode } ) {
77 return (
Original file line number Diff line number Diff line change 11"use client" ;
2+ import { create } from "@orama/orama" ;
3+ import { useDocsSearch } from "fumadocs-core/search/client" ;
24import {
35 SearchDialog ,
46 SearchDialogClose ,
@@ -10,8 +12,6 @@ import {
1012 SearchDialogOverlay ,
1113 type SharedProps ,
1214} from "fumadocs-ui/components/dialog/search" ;
13- import { useDocsSearch } from "fumadocs-core/search/client" ;
14- import { create } from "@orama/orama" ;
1515import { useI18n } from "fumadocs-ui/contexts/i18n" ;
1616
1717function initOrama ( ) {
You can’t perform that action at this time.
0 commit comments