score:1

Accepted answer

use component property instead of component.

score:2

this problem is for using wrong prop name component!

to resolve this issue in the route component pass component prop using lowercase c instead of component using uppercase c.

example:

<route path="/about" component={about} />

Related Query

More Query from same tag