how to get rid of chrome default page once user logged in - nextjs
i am using nextjs
router.replace
once user entered home page. its working great. but issue is still back button is enabled. if i click back btn, it goes to chrome default page. how to get rid of that. anyone has any idea.
router.replace({
pathname: '/home',
});0 Replies