Skip to content

Commit 34e519c

Browse files
committed
chore: linting
1 parent d7ebd72 commit 34e519c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/app/api/search/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { source } from "@/lib/source";
21
import { createFromSource } from "fumadocs-core/search/server";
2+
import { source } from "@/lib/source";
33

44
// statically cached
55
export const revalidate = false;

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import "@/app/global.css";
2-
import { Provider } from "./provider";
32
import { Inter } from "next/font/google";
43
import type { ReactNode } from "react";
4+
import { Provider } from "./provider";
55

66
const inter = Inter({
77
subsets: ["latin"],

src/app/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22
import { RootProvider } from "fumadocs-ui/provider";
3-
import SearchDialog from "@/components/search";
43
import type { ReactNode } from "react";
4+
import SearchDialog from "@/components/search";
55

66
export function Provider({ children }: { children: ReactNode }) {
77
return (

src/components/search.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"use client";
2+
import { create } from "@orama/orama";
3+
import { useDocsSearch } from "fumadocs-core/search/client";
24
import {
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";
1515
import { useI18n } from "fumadocs-ui/contexts/i18n";
1616

1717
function initOrama() {

0 commit comments

Comments
 (0)