min of 0.01, fix parse call
This commit is contained in:
parent
29e21f8faf
commit
360a3d74c3
1 changed files with 3 additions and 3 deletions
|
@ -373,7 +373,7 @@ class PublishPage extends React.Component {
|
||||||
lbry
|
lbry
|
||||||
.channel_new({
|
.channel_new({
|
||||||
channel_name: newChannelName,
|
channel_name: newChannelName,
|
||||||
amount: parseInt(this.state.newChannelBid),
|
amount: parseFloat(this.state.newChannelBid),
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
() => {
|
() => {
|
||||||
|
@ -594,7 +594,7 @@ class PublishPage extends React.Component {
|
||||||
className="form-field__input--inline"
|
className="form-field__input--inline"
|
||||||
step="0.01"
|
step="0.01"
|
||||||
placeholder="1.00"
|
placeholder="1.00"
|
||||||
min="0"
|
min="0.01"
|
||||||
onChange={event => this.handleFeeAmountChange(event)}
|
onChange={event => this.handleFeeAmountChange(event)}
|
||||||
/>
|
/>
|
||||||
{" "}
|
{" "}
|
||||||
|
@ -753,7 +753,7 @@ class PublishPage extends React.Component {
|
||||||
label={__("Deposit")}
|
label={__("Deposit")}
|
||||||
postfix="LBC"
|
postfix="LBC"
|
||||||
step="0.01"
|
step="0.01"
|
||||||
min="1"
|
min="0"
|
||||||
type="number"
|
type="number"
|
||||||
helper={lbcInputHelp}
|
helper={lbcInputHelp}
|
||||||
onChange={event => {
|
onChange={event => {
|
||||||
|
|
Loading…
Reference in a new issue