Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
switch let to const since there's no reassignment
Browse files Browse the repository at this point in the history
  • Loading branch information
davidroeca committed Jun 9, 2017
1 parent bdd0a49 commit 3f0df7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createHistory (state, ignoreInitialState) {
// ignoreInitialState essentially prevents the user from undoing to the
// beginning, in the case that the undoable reducer handles initialization
// in a way that can't be redone simply
let history = newHistory([], state, [])
const history = newHistory([], state, [])
return ignoreInitialState ? {
...history,
_latestUnfiltered: null
Expand Down

0 comments on commit 3f0df7a

Please sign in to comment.