Skip to content

Commit b7374c4

Browse files
committed
WIP cec55
1 parent 73bc2ea commit b7374c4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/site/components/search-dialog.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { gitHubRepoUrl } from "@/lib/constants";
44
import algo from "algoliasearch/lite";
55
import type { SharedProps } from "fumadocs-ui/components/dialog/search";
66
import FumaSearchDialog from "fumadocs-ui/components/dialog/search-algolia";
7-
import { usePathname } from "next/navigation";
87

98
const client = algo(
109
process.env.NEXT_PUBLIC_ALGOLIA_APP_ID,
@@ -14,16 +13,13 @@ const client = algo(
1413
const index = client.initIndex(process.env.NEXT_PUBLIC_ALGOLIA_INDEX!);
1514

1615
export function SearchDialog(props: SharedProps): JSX.Element {
17-
const path = usePathname();
18-
1916
return (
2017
<FumaSearchDialog
2118
index={index}
2219
{...props}
2320
links={[
2421
["Home", "/"],
2522
["Turborepo documentation", "/repo/docs"],
26-
["Turbopack documentation", "/pack/docs"],
2723
["Blog", "/blog"],
2824
["Changelog", `${gitHubRepoUrl}/releases`],
2925
["Github", gitHubRepoUrl],

0 commit comments

Comments
 (0)