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:
@@ -20,7 +20,7 @@ export function showSnackbar (message, cooldown) {
|
||||
};
|
||||
}
|
||||
|
||||
function openSnackbar (message, cooldown) {
|
||||
export function openSnackbar (message, cooldown) {
|
||||
return {
|
||||
type: 'openSnackbar',
|
||||
message, cooldown
|
||||
|
||||
Reference in New Issue
Block a user