Let suppose there is a landing page and on landing page there are 2 options one is for Login and another is for SignUp.
On Login page I am just checking whether cookies are enable or not, so if cookies are blocked then I want to show the snackbar, same goes with SignUp page.
Now what happens is when I clicked on the Login button, the Login page opens up but if the cookies are blocked then snackbar dosen't pops up, but if I refresh the Login page then snackbar pops up.
I want to popup snackbar at the first render itself.
If I use 'a' tag then it works fine but using Link tag it dosen't work.
Can someone please guide me on this.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)