From cea52d439d12eb0e8b490c81377eaf5479bb4be8 Mon Sep 17 00:00:00 2001 From: Puru D Date: Wed, 22 May 2024 05:32:39 -0500 Subject: [PATCH] fix: next/router with next/navigation --- src/components/onboarding/signin/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/onboarding/signin/index.tsx b/src/components/onboarding/signin/index.tsx index ac4f8f74e..e6c1df9fc 100644 --- a/src/components/onboarding/signin/index.tsx +++ b/src/components/onboarding/signin/index.tsx @@ -21,7 +21,7 @@ import { } from "@simplewebauthn/browser"; import { signIn } from "next-auth/react"; import Link from "next/link"; -import { useRouter } from "next/router"; +import { useRouter } from "next/navigation"; import { useState } from "react"; import { useForm } from "react-hook-form"; import { toast } from "sonner";