All files / src/components RouteErrorComponent.jsx

100% Statements 1/1
100% Branches 0/0
100% Functions 2/2
100% Lines 1/1
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>
    )
  }
}