From ebf193d1b22318f11396ed44d0e3cee99cd32fc8 Mon Sep 17 00:00:00 2001 From: Eliseev Aleksei Date: Mon, 23 Dec 2019 17:45:59 +0700 Subject: [PATCH] fixed nested thunk actions call --- src/components/local-form-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/local-form-component.js b/src/components/local-form-component.js index 9402ee8e0..088c91001 100644 --- a/src/components/local-form-component.js +++ b/src/components/local-form-component.js @@ -15,7 +15,7 @@ class LocalForm extends React.Component { this.dispatch = (action) => { if (typeof action === 'function') { - return action(this.store.dispatch, this.store.getState); + return action(this.dispatch, this.store.getState); } return this.store.dispatch(action);