Has anyone experienced the problem with example React App?
this problem came from running the demo app from the blog.
Unhandled Rejection (Error): Given action “ENIGMA_INITIALIZED”, reducer “enigma” returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.
3 stack frames were collapsed.
35 | // Initialize enigma-js client library (including web3) 36 | const enigma = await getEnigmaInit(); 37 | // Create redux action to initialize set state variable containing enigma-js client library> 38 | this.props.initializeEnigma(enigma); | ^ 39 | // Initialize unlocked accounts 40 | const accounts = await enigma.web3.eth.getAccounts(); 41 | // Create redux action to initialize set state variable containing unlocked accounts