diff --git a/js/src/modals/ExecuteContract/executeContract.js b/js/src/modals/ExecuteContract/executeContract.js
index 594ad392225..569356cf9c0 100644
--- a/js/src/modals/ExecuteContract/executeContract.js
+++ b/js/src/modals/ExecuteContract/executeContract.js
@@ -20,7 +20,6 @@ import { observer } from 'mobx-react';
import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import { toWei } from '~/api/util/wei';
import { BusyStep, Button, CompletedStep, GasPriceEditor, IdentityIcon, Modal, TxHash, Warning } from '~/ui';
@@ -470,11 +469,7 @@ function mapStateToProps (initState, initProps) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(ExecuteContract);
diff --git a/js/src/ui/Balance/balance.js b/js/src/ui/Balance/balance.js
index e4dced8821e..b8f98c2ac67 100644
--- a/js/src/ui/Balance/balance.js
+++ b/js/src/ui/Balance/balance.js
@@ -17,7 +17,6 @@
import BigNumber from 'bignumber.js';
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import unknownImage from '../../../assets/images/contracts/unknown-64x64.png';
import styles from './balance.css';
@@ -107,11 +106,7 @@ function mapStateToProps (state) {
return { images };
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(Balance);
diff --git a/js/src/ui/BlockStatus/blockStatus.js b/js/src/ui/BlockStatus/blockStatus.js
index 47ee1a1c8b3..22c0fab2ef2 100644
--- a/js/src/ui/BlockStatus/blockStatus.js
+++ b/js/src/ui/BlockStatus/blockStatus.js
@@ -17,7 +17,6 @@
import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import styles from './blockStatus.css';
@@ -113,11 +112,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(BlockStatus);
diff --git a/js/src/ui/Form/InputAddress/inputAddress.js b/js/src/ui/Form/InputAddress/inputAddress.js
index c10ee126ed6..79bb24c8dbd 100644
--- a/js/src/ui/Form/InputAddress/inputAddress.js
+++ b/js/src/ui/Form/InputAddress/inputAddress.js
@@ -16,7 +16,6 @@
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import util from '~/api/util';
import { nodeOrStringProptype } from '~/util/proptypes';
@@ -162,11 +161,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(InputAddress);
diff --git a/js/src/ui/Form/InputAddressSelect/inputAddressSelect.js b/js/src/ui/Form/InputAddressSelect/inputAddressSelect.js
index f5b21869412..46e4ac3b1a9 100644
--- a/js/src/ui/Form/InputAddressSelect/inputAddressSelect.js
+++ b/js/src/ui/Form/InputAddressSelect/inputAddressSelect.js
@@ -16,7 +16,6 @@
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import AddressSelect from '../AddressSelect';
@@ -68,11 +67,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(InputAddressSelect);
diff --git a/js/src/ui/Modal/modal.js b/js/src/ui/Modal/modal.js
index d9d6ddbaf59..72a9d74ae84 100644
--- a/js/src/ui/Modal/modal.js
+++ b/js/src/ui/Modal/modal.js
@@ -16,9 +16,8 @@
import { Dialog } from 'material-ui';
import React, { Component, PropTypes } from 'react';
-import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import ReactDOM from 'react-dom';
+import { connect } from 'react-redux';
import { nodeOrStringProptype } from '~/util/proptypes';
@@ -113,11 +112,7 @@ function mapStateToProps (state) {
return { settings };
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(Modal);
diff --git a/js/src/ui/SignerIcon/signerIcon.js b/js/src/ui/SignerIcon/signerIcon.js
index ca1ca43fa22..3f6e6dd0e8e 100644
--- a/js/src/ui/SignerIcon/signerIcon.js
+++ b/js/src/ui/SignerIcon/signerIcon.js
@@ -16,7 +16,6 @@
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import { keccak_256 } from 'js-sha3'; // eslint-disable-line camelcase
import ActionFingerprint from 'material-ui/svg-icons/action/fingerprint';
@@ -54,11 +53,7 @@ function mapStateToProps (state) {
return { secureToken };
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(SignerIcon);
diff --git a/js/src/ui/TxHash/txHash.js b/js/src/ui/TxHash/txHash.js
index df5e9342ef6..c054dc01fae 100644
--- a/js/src/ui/TxHash/txHash.js
+++ b/js/src/ui/TxHash/txHash.js
@@ -15,11 +15,10 @@
// along with Parity. If not, see .
import BigNumber from 'bignumber.js';
+import { LinearProgress } from 'material-ui';
import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
-import { LinearProgress } from 'material-ui';
import { txLink } from '~/3rdparty/etherscan/links';
import ShortenedHash from '../ShortenedHash';
@@ -169,11 +168,7 @@ function mapStateToProps (state) {
return { isTest };
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(TxHash);
diff --git a/js/src/ui/TxList/txList.js b/js/src/ui/TxList/txList.js
index b99335a4fe6..5cc5618d6eb 100644
--- a/js/src/ui/TxList/txList.js
+++ b/js/src/ui/TxList/txList.js
@@ -14,10 +14,9 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see .
+import { observer } from 'mobx-react';
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
-import { observer } from 'mobx-react';
import Store from './store';
import TxRow from './TxRow';
@@ -92,11 +91,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(TxList);
diff --git a/js/src/views/Account/Transactions/transactions.js b/js/src/views/Account/Transactions/transactions.js
index 5e48d5c5c3d..547c918d854 100644
--- a/js/src/views/Account/Transactions/transactions.js
+++ b/js/src/views/Account/Transactions/transactions.js
@@ -18,7 +18,6 @@ import { observer } from 'mobx-react';
import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import { Container, TxList, Loading } from '~/ui';
@@ -118,11 +117,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(Transactions);
diff --git a/js/src/views/Application/Status/status.js b/js/src/views/Application/Status/status.js
index 1aded4b887e..1e2cd4d41b0 100644
--- a/js/src/views/Application/Status/status.js
+++ b/js/src/views/Application/Status/status.js
@@ -17,7 +17,6 @@
import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import { BlockStatus } from '~/ui';
@@ -133,11 +132,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(Status);
diff --git a/js/src/views/Application/application.js b/js/src/views/Application/application.js
index 03b85ca3806..256ff02123e 100644
--- a/js/src/views/Application/application.js
+++ b/js/src/views/Application/application.js
@@ -14,10 +14,9 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see .
+import { observer } from 'mobx-react';
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
-import { observer } from 'mobx-react';
import UpgradeStore from '~/modals/UpgradeParity/store';
@@ -123,11 +122,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(Application);
diff --git a/js/src/views/Dapps/dapps.js b/js/src/views/Dapps/dapps.js
index 8ebbb602d63..27e5c8b5275 100644
--- a/js/src/views/Dapps/dapps.js
+++ b/js/src/views/Dapps/dapps.js
@@ -14,13 +14,12 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see .
+import { omitBy } from 'lodash';
import { Checkbox } from 'material-ui';
import { observer } from 'mobx-react';
import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
-import { omitBy } from 'lodash';
import { AddDapps, DappPermissions } from '~/modals';
import PermissionStore from '~/modals/DappPermissions/store';
@@ -169,11 +168,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(Dapps);
diff --git a/js/src/views/ParityBar/parityBar.js b/js/src/views/ParityBar/parityBar.js
index 42c52f47df7..8893ac5665e 100644
--- a/js/src/views/ParityBar/parityBar.js
+++ b/js/src/views/ParityBar/parityBar.js
@@ -17,7 +17,6 @@
import React, { Component, PropTypes } from 'react';
import { Link } from 'react-router';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
import ActionFingerprint from 'material-ui/svg-icons/action/fingerprint';
import ContentClear from 'material-ui/svg-icons/content/clear';
@@ -162,11 +161,7 @@ function mapStateToProps (state) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(ParityBar);
diff --git a/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/transactionPendingFormConfirm.js b/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/transactionPendingFormConfirm.js
index 5a93cef0d93..f9d93cbe1da 100644
--- a/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/transactionPendingFormConfirm.js
+++ b/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/transactionPendingFormConfirm.js
@@ -14,13 +14,12 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see .
+import keycode from 'keycode';
+import RaisedButton from 'material-ui/RaisedButton';
import React, { Component, PropTypes } from 'react';
import ReactDOM from 'react-dom';
import { connect } from 'react-redux';
-import { bindActionCreators } from 'redux';
-import RaisedButton from 'material-ui/RaisedButton';
import ReactTooltip from 'react-tooltip';
-import keycode from 'keycode';
import { Form, Input, IdentityIcon } from '~/ui';
@@ -258,11 +257,7 @@ function mapStateToProps (_, initProps) {
};
}
-function mapDispatchToProps (dispatch) {
- return bindActionCreators({}, dispatch);
-}
-
export default connect(
mapStateToProps,
- mapDispatchToProps
+ null
)(TransactionPendingFormConfirm);