Skip to content

Not Authenticated Redirect is not redirecting #2

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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