truffle-box / react-auth-box

Truffle, Webpack, React, Redux boilerplate with routing and authentication via a smart contract.
https://truffle-box.github.io/
MIT License
176 stars 66 forks source link

remove unused dispatch in callback #13

Open rstormsf opened 7 years ago

rstormsf commented 7 years ago

returning function with dispatch while you are not dispatching the actual function is redundant. I don't think it makes sense to have undefined dispatch as a parameter since you are not even using it. https://github.com/truffle-box/react-auth-box/blob/master/src/util/web3/getWeb3.js#L14