Skip to content

Commit

Permalink
Merge pull request #61 from taion/currentLocation-null
Browse files Browse the repository at this point in the history
Initialize prevLocation as null
  • Loading branch information
taion committed May 2, 2016
2 parents 59377f7 + e33106e commit 3e26b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/utils/withScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function withScroll(
}
}

let currentLocation
let currentLocation = null
let currentUpdateHandle = null

function updateScrollPosition(scrollPosition) {
Expand Down

0 comments on commit 3e26b13

Please sign in to comment.