min of 0.01, fix parse call

This commit is contained in:
Jeremy Kauffman 2017-06-08 19:25:42 -04:00
parent 29e21f8faf
commit 360a3d74c3

View file

@ -373,7 +373,7 @@ class PublishPage extends React.Component {
lbry
.channel_new({
channel_name: newChannelName,
amount: parseInt(this.state.newChannelBid),
amount: parseFloat(this.state.newChannelBid),
})
.then(
() => {
@ -594,7 +594,7 @@ class PublishPage extends React.Component {
className="form-field__input--inline"
step="0.01"
placeholder="1.00"
min="0"
min="0.01"
onChange={event => this.handleFeeAmountChange(event)}
/>
{" "}
@ -753,7 +753,7 @@ class PublishPage extends React.Component {
label={__("Deposit")}
postfix="LBC"
step="0.01"
min="1"
min="0"
type="number"
helper={lbcInputHelp}
onChange={event => {