Skip to content

Commit

Permalink
fix(withLocation): add navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeIbberson committed Apr 16, 2020
1 parent 5d8460d commit bf86b6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.jsx
Expand Up @@ -30,6 +30,7 @@ export const withLocation = (Component) => (props) => (

return (
<Component
navigate={navigate}
location={location}
{...props}
{...methods}
Expand Down

0 comments on commit bf86b6e

Please sign in to comment.