diff --git a/react/src/components/dashboard/main/dashboard.render.js b/react/src/components/dashboard/main/dashboard.render.js index 30766c2..0353e55 100644 --- a/react/src/components/dashboard/main/dashboard.render.js +++ b/react/src/components/dashboard/main/dashboard.render.js @@ -33,7 +33,7 @@ const DashboardRender = function() { { !this.isNativeMode() && } { !this.isNativeMode() && } - + { this.isSectionActive('edex') && diff --git a/react/src/components/dashboard/walletsTxInfo/walletsTxInfo.js b/react/src/components/dashboard/walletsTxInfo/walletsTxInfo.js index 2ee27b8..245f98e 100644 --- a/react/src/components/dashboard/walletsTxInfo/walletsTxInfo.js +++ b/react/src/components/dashboard/walletsTxInfo/walletsTxInfo.js @@ -5,8 +5,8 @@ import Store from '../../../store'; import WalletsTxInfoRender from './walletsTxInfo.render'; class WalletsTxInfo extends React.Component { - constructor(props) { - super(props); + constructor() { + super(); this.state = { activeTab: 0, }; @@ -52,4 +52,17 @@ class WalletsTxInfo extends React.Component { } } -export default WalletsTxInfo; +const mapStateToProps = (state) => { + return { + ActiveCoin: { + mode: state.ActiveCoin.mode, + txhistory: state.ActiveCoin.txhistory, + showTransactionInfo: state.ActiveCoin.showTransactionInfo, + nativeActiveSection: state.ActiveCoin.nativeActiveSection, + activeAddress: state.ActiveCoin.activeAddress, + } + }; + +}; + +export default connect(mapStateToProps)(WalletsTxInfo);