I am using react-router in a project. But when the URL is equal to the path, the component assigned to the Route component is not rendered. Here is the code