Skip to content

Commit 9c4f533

Browse files
committed
Fix typo
1 parent 0133336 commit 9c4f533

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,12 @@ import Footer from '../components/Footer'
170170
export default class extends React.Component {
171171
render () {
172172
const {
173+
location,
173174
render,
174175
routes
175176
} = this.props
176177

177-
const route = routes.find(route => route.path === props.location.pathname)
178+
const route = routes.find(route => route.path === location.pathname)
178179

179180
return (
180181
<React.Fragment>

0 commit comments

Comments
 (0)