Browse Source

missing activeHandle map in props

all-modes
pbca26 7 years ago
parent
commit
8172cdd390
  1. 3
      react/src/components/dashboard/walletsBalance/walletsBalance.js
  2. 6
      react/src/components/dashboard/walletsNav/walletsNav.js

3
react/src/components/dashboard/walletsBalance/walletsBalance.js

@ -188,6 +188,7 @@ class WalletsBalance extends React.Component {
return null;
}
}
const mapStateToProps = (state) => {
return {
ActiveCoin: {
@ -202,9 +203,9 @@ const mapStateToProps = (state) => {
},
Dashboard: {
progress: state.Dashboard.progress,
activeHandle: state.Dashboard.activeHandle,
}
};
};
export default connect(mapStateToProps)(WalletsBalance);

6
react/src/components/dashboard/walletsNav/walletsNav.js

@ -134,10 +134,12 @@ const mapStateToProps = (state) => {
activeSection: state.ActiveCoin.activeSection,
activeAddress: state.ActiveCoin.activeAddress
},
ActiveHandle: state.Dashboard.activeHandle,
Dashboard: {
activeHandle: state.Dashboard.activeHandle,
},
nativeOnly: Config.iguanaLessMode,
};
};
export default connect(mapStateToProps)(WalletsNav);

Loading…
Cancel
Save