Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix(wallet): fix display error in outputs when switching b/w spend mo…
Browse files Browse the repository at this point in the history
…des (#100)
  • Loading branch information
bucko13 authored May 20, 2020
1 parent 3514039 commit 4a803f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Wallet/WalletSpend.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,11 @@ class WalletSpend extends React.Component {
};

handleSpendMode = (event) => {
const { updateAutoSpend } = this.props;
const { updateAutoSpend, resetNodesSpend, deleteChangeOutput } = this.props;
updateAutoSpend(!event.target.checked);
updateAutoSpend(!event.target.checked);
resetNodesSpend();
deleteChangeOutput();
};

render() {
Expand Down

0 comments on commit 4a803f0

Please sign in to comment.