1
1
mirror of https://github.com/c8r/x0.git synced 2024-07-14 16:50:34 +03:00
This commit is contained in:
John Otander 2018-07-19 07:59:57 -06:00
parent 01333369ab
commit 9c4f53317d

View File

@ -170,11 +170,12 @@ import Footer from '../components/Footer'
export default class extends React.Component {
render () {
const {
location,
render,
routes
} = this.props
const route = routes.find(route => route.path === props.location.pathname)
const route = routes.find(route => route.path === location.pathname)
return (
<React.Fragment>