title: React Router not rendering component at path, returns blank page with correct pathing
body: <p>React-Router appears to be working in my app except for the fact that I am getting a blank page instead of my component, even though it is directed to the proper path.</p>
  
  <p>I'm scanning the documentation but I can't resolve the issue on my own after looking it over and searching Google/this site.</p>
  
  <p>I had tried...</p>
  
  <ul>
  <li>Making it so that the router.js file just contained the routes only to get the same results. Specifying exact path as well when doing so.</li>
  <li>Reinstalling react-router-dom into the component in case there was an error when it downloaded. </li>
  <li>Removing the provider in case that was the issue</li>
  <li>Placing the code in the router file directly in the App.js file between the provider component tags</li>
  </ul>
  
  <p>These are the files involved.</p>
  
  <p>Router.js</p>
  
  <pre><code>import React from 'react';
  import {Route, Switch, Redirect} from 'react-router-dom';
  import LandingPage from '../scenes/LandingPage';
  import CityPage from '../scenes/CityPage';
  
  const Router = () =&gt; {
      return ( 
          &lt;Switch&gt;
              &lt;Redirect from='/' to='/landing' /&gt;
              &lt;Route path='/landing' component={LandingPage} /&gt;
              &lt;Route path='/citypage' component={CityPage} /&gt;
          &lt;/Switch&gt;
       );
  }
  
  export default Router;
  </code></pre>
  
  <p>App.js</p>
  
  <pre><code>import React from "react";
  import { BrowserRouter } from "react-router-dom";
  import Router from "./services/Router";
  import ChosenCityContextProvider from "./services/context/ChosenCityContext";
  
  const App = () =&gt; {
    return (
      &lt;BrowserRouter&gt;
        &lt;ChosenCityContextProvider&gt;
          &lt;Router /&gt;
        &lt;/ChosenCityContextProvider&gt;
      &lt;/BrowserRouter&gt;
    );
  };
  
  export default App;
  </code></pre>
  
  <p>No error messages accompany the rendering of the site. Aside from the blank page, everything else appears to be working. In the React Dev tools, it states that the Router.Consumer has an object which is revealed to empty when expanded.</p>
  
  <p>What is wrong with my code?</p>
  
  <p><a href="https://codesandbox.io/s/youthful-maxwell-rch1k?fontsize=14" rel="nofollow noreferrer">https://codesandbox.io/s/youthful-maxwell-rch1k?fontsize=14</a></p>
  
  <p>Above is sandbox of code. I have the same issue here</p>