how to set up the same route to multiple components react router dom code example
Example: react route multiple components
//use multiple components in one Route:
<Route path='/path' render={props =>
<div>
<FirstChild />
<SecondChild />
</div>
} />