Skylarrr
Skylarrr
TTCTheo's Typesafe Cult
Created by Yuvaraj on 5/17/2023 in #questions
NextJs router error in app dir
Make sure you're importing the correct useRouter from 'next/navigation' instead of 'next/router' if you are using the app dir https://nextjs.org/docs/app/api-reference/functions/use-router
3 replies