Importar Withrouter

import { withRouter } from 'react-router-dom';
Run time Terror