React router dom is not redirecting to the route even though the url is changed - Kevin Powell - Community