Mudar no roteador

npm install react-router@next react-router-dom@next
Nasrullah107