I get this error in my inspector on browser
A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .
Its happens when I write this line of code (<Route render={({ history }) => } />)
Also match.params doesnt work