diff --git a/src/lib/index.js b/src/lib/index.js index b3f2cf0..7f4fc61 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -70,11 +70,11 @@ class PushStateAnchor extends Component { const PushStateLocation = (props) => - {value => value.location && props.children(value.location)} + {value => value.location && props.children(value.location, value.hiistory)} export { PushStateAnchorProvider, PushStateAnchor, PushStateLocation -} \ No newline at end of file +}