Hi, i am using nextjs as react framework for my ecommerce website. My product detail page have an custom back button which is having Router.back() function. This works normal when browsing back and forth in website. But whenever i copy the product detail link and open directly in incognito mode the custom back button won't work...!!
Anyone have solution for this ?
Top comments (1)
I have resolve this thing.. thanks