just export state directly
This commit is contained in:
parent
5ea9f67d14
commit
45d8fe88b1
1 changed files with 1 additions and 3 deletions
|
@ -1,9 +1,7 @@
|
|||
let reducer = state => state
|
||||
let listeners = new Set()
|
||||
|
||||
let state
|
||||
|
||||
export let getState = () => state
|
||||
export let state
|
||||
|
||||
export let setReducer = (newReducer, preloadedState = newReducer()) => {
|
||||
reducer = newReducer
|
||||
|
|
Reference in a new issue