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
Same happent here, also I couldn't run my project as I was getting "Cannot read property 'pathname' of undefined"
locationprops is only available in top-level components (pages). So if for some reason, you are reusing Layout component elsewhere and you are not providing (or it's not available) the location, it will break your code.
In your case, it seems that you are not providing the location at the 404 page. You can bypass it adding a default value such as:
The initial and enter work perfectly. Unfortunately, the fade-out before going to another page does not happen. Any idea what might be causing that?
The text was updated successfully, but these errors were encountered: