Skip to content

Commit

Permalink
No need to return
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Feb 26, 2017
1 parent 785f2e5 commit 1ecaa72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/createBrowserHistory.js
Expand Up @@ -286,7 +286,7 @@ const createBrowserHistory = (props = {}) => {

return () => {
checkDOMListeners(-1)
return unlisten()
unlisten()
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/createHashHistory.js
Expand Up @@ -305,7 +305,7 @@ const createHashHistory = (props = {}) => {

return () => {
checkDOMListeners(-1)
return unlisten()
unlisten()
}
}

Expand Down

0 comments on commit 1ecaa72

Please sign in to comment.