From 9c4f53317d40ad15db933d7de2887b531aeb9918 Mon Sep 17 00:00:00 2001 From: John Otander Date: Thu, 19 Jul 2018 07:59:57 -0600 Subject: [PATCH] Fix typo --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e964e3..ee05150 100644 --- a/README.md +++ b/README.md @@ -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 (