1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-07 15:05:07 +00:00

Not dynamic for now

This commit is contained in:
andytudhope 2019-08-10 17:59:43 +02:00 committed by Andy Tudhope
parent 9e8531e6bf
commit 0368c0f106

View File

@ -122,7 +122,7 @@ class Withdraw extends React.Component {
<div className={`${styles.inputArea} ${styles.inputAreaBorder}`}>
<input
type="text"
value={sntValue !== 0 ? sntValue : withdrawMax}
value={withdrawMax}
onChange={this.handleSNTChange}
style={{ width: `${21 * Math.max(1, sntValue.length)}px` }}
/>