Hi here,
I’ve been trying to work on an app that, if you’re not logged, it will switch the view you’re trying to see with another one.
Logic works fine but the redirection seems to throw an error.
I’ve replicated the case on a Codepen. Please note that this is a basic example with no logic on it.
Can anyone point me what could be going on?