Skip to content

Commit

Permalink
Fix USD calculation in the withdraw modal
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 19, 2018
1 parent 0077c8d commit a4fec46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/views/Dashboard/WithdrawModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class WithdrawModal extends React.Component {
const setAmount = value => {
this.setState({
amount: String(value),
amountInUsd: String(Number.parseFloat(value || '0') / currencyInfo.cmcPriceUsd),
amountInUsd: String(Number.parseFloat(value || '0') * currencyInfo.cmcPriceUsd),
});
};

Expand Down

0 comments on commit a4fec46

Please sign in to comment.