Skip to content

Commit 3b1724a

Browse files
committed
Use next/compat/router
1 parent 8655ec6 commit 3b1724a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from "@headlessui/react"
88
import { clsx } from "clsx"
99
import NextLink from "next/link"
10-
import { useRouter } from "next/router"
10+
import { useRouter } from "next/compat/router"
1111
import { useMounted } from "nextra/hooks"
1212
import { InformationCircleIcon, SpinnerIcon } from "nextra/icons"
1313
import type {

0 commit comments

Comments
 (0)