Open jt5301 opened 4 years ago
When clicking logout, should I be redirecting the user instead of doing history.push('/login')?
I've checked out this bug, and what I'm seeing happen is that on line 136 of Header.js {getUser() ? (...
getUser() doesn't seem to get called, which suggests to me at least that the Header component isn't being rerendered after signing out
Forgot to mention, the way I figured is by placing a console.log on the Header component right before rendering in an attempt to inspect the value returned by getUser(). It didn't get called iirc
The search bar and settings button still show up when the user clicks logout