mirror of
https://github.com/c8r/x0.git
synced 2024-08-16 17:00:24 +03:00
Fix typo
This commit is contained in:
parent
01333369ab
commit
9c4f53317d
@ -170,11 +170,12 @@ import Footer from '../components/Footer'
|
|||||||
export default class extends React.Component {
|
export default class extends React.Component {
|
||||||
render () {
|
render () {
|
||||||
const {
|
const {
|
||||||
|
location,
|
||||||
render,
|
render,
|
||||||
routes
|
routes
|
||||||
} = this.props
|
} = this.props
|
||||||
|
|
||||||
const route = routes.find(route => route.path === props.location.pathname)
|
const route = routes.find(route => route.path === location.pathname)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
|
Loading…
Reference in New Issue
Block a user