We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5426f1 commit 4c5b1a5Copy full SHA for 4c5b1a5
src/index.js
@@ -1,4 +1,5 @@
1
import Dispatcher from './dispatcher'
2
+import { UPDATE_SNAPSHOT } from './constants'
3
4
export { isGossipType } from './dispatcher'
5
export {
@@ -138,4 +139,4 @@ function connectStreams(io, createStream) {
138
139
// devToolsStateSanitizer can be applied to the devToolsExtension
140
// as the stateSanitizer to show correctly the store state instead
141
// of showing the internal representation of redux-scuttlebutt
-export const devToolsStateSanitizer = (state) => state.slice(-1)[0][3]
142
+export const devToolsStateSanitizer = (state) => state.slice(-1)[0][UPDATE_SNAPSHOT]
0 commit comments