Skip to content

Logging out doesn't work when tutorial says it will #13

@piannaf

Description

@piannaf

<Route exact path="/logout" component={Logout} />

This line and the associated import are not mentioned in the tutorial. So it was surprising to read "Now logging out (by visiting “/logout”) and logging in should both work" but then logout didn't work.

After following along the tutorials up to this point, I had a feeling the route needed to be added here, but still wasn't sure (so I came to reference the repo). I suggest the tutorial either say something like "Of course, we also need to add "/logout" to our routes" or be more explicit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions