Skip to content

Commit

Permalink
Fix issue when clicking the "Max" button in withdraw modal
Browse files Browse the repository at this point in the history
Yet another input bug...
  • Loading branch information
sindresorhus committed Jun 15, 2018
1 parent 0ed0acd commit 37a35f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/views/Dashboard/WithdrawModal.js
Expand Up @@ -72,7 +72,7 @@ class WithdrawModal extends React.Component {

const setAmount = value => {
this.setState({
amount: value,
amount: String(value),
amountInUsd: String(Number.parseFloat(value || '0') / currencyInfo.cmcPriceUsd),
});
};
Expand Down

0 comments on commit 37a35f5

Please sign in to comment.