Fix newError noops when not bound to dispacher (#4013)

* AddContract properly binds newError

* EditMeta properly binds newError

* PasswordManager properly binds newError

* pass null instead of empty mapStateToProps

* Add openSnackbar test & binded prop
This commit is contained in:
Jaco Greeff
2017-01-03 17:41:21 +01:00
committed by GitHub
parent 9db3f383e3
commit 04ed53e0f2
12 changed files with 202 additions and 48 deletions

View File

@@ -20,7 +20,7 @@ export function showSnackbar (message, cooldown) {
};
}
function openSnackbar (message, cooldown) {
export function openSnackbar (message, cooldown) {
return {
type: 'openSnackbar',
message, cooldown