title: 'Routes' is not defined react/jsx-no-undef
body: <p>So I was following the React Crash Course on YouTube for Beginners from Academind. I was following everything along and everything was good until I came to the Routing part.
  I followed every step, everything just perfectly (for the routing part) but after refreshing the page the following error occurs:</p>
  <blockquote>
  <p>A <code>&lt;Route&gt;</code> is only ever to be used as the child of <code>&lt;Routes&gt;</code> element, never rendered directly. Please wrap your <code>&lt;Route&gt;</code> in a <code>&lt;Routes&gt;</code>.</p>
  </blockquote>
  <p>Aaand I did it, I wrapped my Route in Routes :</p>
  <pre><code>    import { Route } from 'react-router-dom';
  
  
  import AllMeetupsPage from './Pages/AllMeetups';
  import NewMeetupsPage from './Pages/NewMeetups';
  import FavoritesPage from './Pages/Favorites';
  
  function App() {
    return (
      &lt;div&gt;
        &lt;Routes&gt;
          &lt;Route path='/'&gt;
            &lt;AllMeetupsPage /&gt;
          &lt;/Route&gt;
  
          &lt;Route path='/new-meets'&gt;
            &lt;NewMeetupsPage /&gt;
          &lt;/Route&gt;
  
          &lt;Route path='/favs'&gt;
            &lt;FavoritesPage /&gt;
          &lt;/Route&gt;
        &lt;/Routes&gt;
      &lt;/div&gt;
    );
  }
  
  export default App;
  </code></pre>
  <p>and then I get this:</p>
  <blockquote>
  <p>'Routes' is not defined  react/jsx-no-undef</p>
  </blockquote>
  <p>then I :</p>
  <p>Tried to import <strong>Routes</strong> from <em><strong>react-router-dom</strong></em> - No success;</p>
  <p>Tried to import <strong>Routes</strong> from <em><strong>react-router</strong></em> - No success;</p>
  <p>Tried to import <strong>Routes</strong> also in different components - No success;</p>
  <p>Trust me I tried every different scenario for <strong>Routes</strong> but couldnt achieve anything different.
  I</p>
  <p>Googled, researched and couldnt find the solution for this problem.. Now Im desperate and
  stuck here and I cant continue my React learning journey if I dont fix this...</p>