lanjianrong 5 лет назад
Родитель
Сommit
013b4aa443
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/EditableForm/src/useOptions.js

+ 1 - 1
src/components/EditableForm/src/useOptions.js

@@ -25,7 +25,7 @@ export default function useOptions(type) {
     if (type === typeEnum.NATUREIDS) {
       if (!store.getState().company.natures.length) {
         dispatch({
-          type: 'company/fetch'
+          type: 'company/fetchNatures'
         })
       }
     }