| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1x | import React, { Component } from 'react'
//import { Redirect } from 'react-router-dom'
export default class RouteErrorComponent extends Component {
componentDidMount(){
//window.location.search = ""
}
render() {
return (
<div>
<p>Error in route {JSON.stringify(this.props)}</p>
</div>
)
}
}
|