Skip to content

Not Authenticated Redirect is not redirecting #2

@sankre

Description

@sankre

return <Redirect to={{ pathname: "/landing" }}

This Redirect is not working. me seems to throw an error if not authenticated and not an empty Object, as to why execution stops at if(error) above this line.

Would create a pull request, but wondering if Redirect should be return on error or if there is a better option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions