title: react-router-dom config for sidebar
body: <p>i'm creating app based on <a href="https://github.com/react-boilerplate/react-boilerplate" rel="nofollow noreferrer">react-boilerplate</a>, and then i add <a href="https://github.com/primefaces/sigma" rel="nofollow noreferrer">sigma</a> dashboard template for the homepage. Let's say i have 4 page : </p>
  
  <ul>
  <li>Login </li>
  <li>Homepage</li>
  <li>User</li>
  <li>Not found page</li>
  </ul>
  
  <p>And my route code is like :</p>
  
  <pre><code>return (
      &lt;div&gt;
          &lt;Switch&gt;
              &lt;Route exact path="/Login" component={LoginPage} /&gt;
              &lt;Sigma&gt;
                  &lt;Route exact path="/Home" component={HomePage} /&gt;
                  &lt;Route exact path="/User" component={UserPage} /&gt;
                  &lt;Route exact path="/EditUser" component={EditUserPage} /&gt;
              &lt;/Sigma&gt;
              &lt;Route component={NotFoundPage} /&gt;
          &lt;/Switch&gt;
      &lt;/div&gt;
  );
  </code></pre>
  
  <p>For the login, homepage and user it already shown as i expected. Login page will displayed without the sidebar, and then homepage and user will displayed with the sidebar. But for the not found page it's not displayed as i expected. I want it to displayed without the sidebar. </p>
  
  <p>login page :
  <a href="https://i.stack.imgur.com/y6Quj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y6Quj.png" alt="Login"></a></p>
  
  <p>homepage :
  <a href="https://i.stack.imgur.com/Ab5qG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ab5qG.png" alt="homepage"></a></p>
  
  <p>user :
  <a href="https://i.stack.imgur.com/hSIMQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hSIMQ.png" alt="user"></a></p>
  
  <p>not found page :
  <a href="https://i.stack.imgur.com/FMNXb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FMNXb.png" alt="not found page"></a></p>
  
  <p>Please throw some pointer / documentation that related to this issue. Many thanks before. Source : <a href="https://github.com/cumibulat/PrimeJ2H/" rel="nofollow noreferrer">https://github.com/cumibulat/PrimeJ2H/</a></p>