title: How can i create ReactRouter Default Route
body: <p>As i want to navigate my dashboard component by default when user sign with its credentials. So how can i make the dashboard component default and how can i change it with the sideNav here are the example of my project the user navigate to dashboard and it is showing blank <a href="https://i.stack.imgur.com/4lQyn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4lQyn.png" alt="enter image description here" /></a></p>
  <p>and when i click on the sidebar component it is rendering the component so how can i make dashboard as default using function component
  <a href="https://i.stack.imgur.com/t1hf4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t1hf4.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/TMNjK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TMNjK.png" alt="enter image description here" /></a></p>