registry dapp: fix reducer (#3028)

This commit is contained in:
Jannis Redmann 2016-10-31 23:28:49 +01:00 committed by Jaco Greeff
parent b8bcb8e622
commit e024afacf3

View File

@ -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,