next router not working [FIXED]
Answered
Auth posted this in #help-forum
AuthOP
so i have this code it sends some data to backend but i wanna redirect user after clicking on the button im using next router but i get error in console next router not mounted
Answered by Dayo
since you're using the app router you ought to import 
router from next/navigation instead of next/router5 Replies
AuthOP
@Auth  Click to see attachment 
since you're using the app router you ought to import 
router from next/navigation instead of next/routerAnswer
THANKSSS SOO MUCHH
@Auth  THANKSSS SOO MUCHH 
awesome! no worries!