We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab620e5 + 275ae5e commit 43e760bCopy full SHA for 43e760b
src/modules/search/components/desktop-hit/index.tsx
@@ -1,6 +1,6 @@
1
import { useModal } from "@lib/context/modal-context"
2
import Hit, { HitProps } from "@modules/search/components/hit"
3
-import { useRouter } from "next/router"
+import { useRouter } from "next/navigation"
4
5
const DesktopHit = ({ hit }: HitProps) => {
6
const { close } = useModal()
src/modules/search/components/mobile-hit/index.tsx
import { useMobileMenu } from "@lib/context/mobile-menu-context"
const MobileHit = ({ hit }: HitProps) => {
const { close } = useMobileMenu()
0 commit comments