Commit b7374c4 1 parent 73bc2ea commit b7374c4 Copy full SHA for b7374c4
File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { gitHubRepoUrl } from "@/lib/constants";
4
4
import algo from "algoliasearch/lite" ;
5
5
import type { SharedProps } from "fumadocs-ui/components/dialog/search" ;
6
6
import FumaSearchDialog from "fumadocs-ui/components/dialog/search-algolia" ;
7
- import { usePathname } from "next/navigation" ;
8
7
9
8
const client = algo (
10
9
process . env . NEXT_PUBLIC_ALGOLIA_APP_ID ,
@@ -14,16 +13,13 @@ const client = algo(
14
13
const index = client . initIndex ( process . env . NEXT_PUBLIC_ALGOLIA_INDEX ! ) ;
15
14
16
15
export function SearchDialog ( props : SharedProps ) : JSX . Element {
17
- const path = usePathname ( ) ;
18
-
19
16
return (
20
17
< FumaSearchDialog
21
18
index = { index }
22
19
{ ...props }
23
20
links = { [
24
21
[ "Home" , "/" ] ,
25
22
[ "Turborepo documentation" , "/repo/docs" ] ,
26
- [ "Turbopack documentation" , "/pack/docs" ] ,
27
23
[ "Blog" , "/blog" ] ,
28
24
[ "Changelog" , `${ gitHubRepoUrl } /releases` ] ,
29
25
[ "Github" , gitHubRepoUrl ] ,
You can’t perform that action at this time.
0 commit comments