Browse Source

Don't set state to loading when editing values

Fela Maslen 7 năm trước cách đây
mục cha
commit
cf6511a1a2
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/reducers/crud.js

+ 0 - 1
src/reducers/crud.js

@@ -154,7 +154,6 @@ function onUpdate(state, { route, id, fields }) {
 
     return {
         [route]: {
-            loading: true,
             items: updateDoc(routeDocs, index, id, true, fields)
         }
     };