SyntaxFix
Write A Post
Hire A Developer
Questions
for react-router V5 and above use below syntax for multiple paths
<Route exact path={[path1, path2]} component={component} />