React history.push() not redirecting

That ended up being my second googling, my first googling was “react redirect after logout”.