title: How do I use React Router <Link to> from antd table column
body: <p>I am using react router, and antd in my project. I am using  from antd. I display a column and on click of this column, I want to reroute the user to another details page, using this</p>
  <pre><code>&lt;Route&gt;
      {/*&lt;Redirect to=&quot;/pages/mypage&quot;&gt;*/}
      {/*  {text}*/}
      {/*&lt;/Redirect&gt;*/}
      &lt;Link to='/pages/mypage'&gt;
        {text}
      &lt;/Link&gt;
    &lt;/Route&gt;
  </code></pre>
  <p>This does not work and gives a 404 error. In addition to this code, I have a file called router.js which has an entry to <code>/pages/mypage</code></p>
  <p>Can anyone help me understand how to get React Router route user to another page by clicking a cell in a table column.</p>