Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion app/renderer/views/Dashboard/WithdrawModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import roundTo from 'round-to';
import Modal from 'components/Modal';
import Button from 'components/Button';
import Input from 'components/Input';
import Link from 'components/Link';
import appContainer from 'containers/App';
import dashboardContainer from 'containers/Dashboard';
import {formatCurrency} from '../../util';
Expand Down Expand Up @@ -111,6 +110,10 @@ class WithdrawModal extends React.Component {
/>
</div>
<div className="section">
<p>
{/* TODO: Remove this when #302 is fixed */}
<small>{'Note: HyperDEX doesn\'t yet calculate the TX fee, so you can\'t withdraw the whole balance. Try withdrawing slightly less.'}</small>
</p>
<label>{t('withdraw.amountLabel')}:</label>
<div className="amount-inputs">
<Input
Expand Down Expand Up @@ -147,13 +150,15 @@ class WithdrawModal extends React.Component {
<span>USD</span>
)}
/>
{/* Hidden because of #302
<Link
onClick={() => {
setAmount(maxAmount);
}}
>
({t('withdraw.maxAmount')})
</Link>
*/}
</div>
</div>
<div className="section">
Expand Down