|
<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.
chords/src/App.js
Line 87 in f989512
This line and the associated
importare 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.