title: Button clicked to redirect to parent URL
body: <p>The application is running on page: <code>http://localhost:3000/login</code> and when a button is clicked it should redirect to <code>http://localhost:3000/</code>.</p>
  <p>So this is how I've tried:</p>
  <pre><code>import React from 'react';
  import { Redirect } from 'react-router-dom';
  import { Button } from 'semantic-ui-react';
  
  ...
  
  
  &lt;Button onClick={() =&gt; &lt;Redirect to=&quot;/&quot; /&gt;}&gt;
       Go home
  &lt;/Button&gt;
  </code></pre>
  <p>it doesn't work. What is missing?</p>