You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions