registry dapp: fix reducer (#3028)
This commit is contained in:
parent
b8bcb8e622
commit
e024afacf3
@ -17,7 +17,7 @@ export default (state = initialState, action) => {
|
||||
};
|
||||
}
|
||||
|
||||
if (action.type === 'records update error' && action.type === 'records update success') {
|
||||
if (action.type === 'records update error' || action.type === 'records update success') {
|
||||
return {
|
||||
...state,
|
||||
pending: false,
|
||||
|
Loading…
Reference in New Issue
Block a user