Skip to content

Commit

Permalink
Update index.js (#2766)
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense authored and KyleAMathews committed Nov 2, 2017
1 parent 84d8cbe commit 80496d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/redux/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ store.subscribe(() => {
emitter.emit(lastAction.type, lastAction)
})

emitter.onAny(() => {
emitter.on('*', () => {
saveState(store.getState())
})

Expand Down

0 comments on commit 80496d2

Please sign in to comment.