diff --git a/ui/js/component/publishForm/internal/channelSection.jsx b/ui/js/component/publishForm/internal/channelSection.jsx index 5f370f939..1744139c6 100644 --- a/ui/js/component/publishForm/internal/channelSection.jsx +++ b/ui/js/component/publishForm/internal/channelSection.jsx @@ -53,16 +53,9 @@ class ChannelSection extends React.PureComponent { } handleCreateChannelClick(event) { - const min = this.minChannelBid(); - if (this.state.newChannelName.length < 5) { this.refs.newChannelName.showError( - __("LBRY channel names must be at least 4 characters in length.") - ); - return; - } else if (this.state.newChannelBid < min) { - this.refs.newChannelName.showError( - __(`The minimum amount is ${min} credits.`) + __("LBRY channel names must be at least 5 characters in length.") ); return; } @@ -95,10 +88,6 @@ class ChannelSection extends React.PureComponent { this.props.createChannel(newChannelName, amount).then(success, failure); } - minChannelBid() { - return 0.000178; - } - render() { const lbcInputHelp = __( "This LBC remains yours and the deposit can be undone at any time." diff --git a/ui/js/component/publishForm/view.jsx b/ui/js/component/publishForm/view.jsx index c331334b3..4b0d2e3d3 100644 --- a/ui/js/component/publishForm/view.jsx +++ b/ui/js/component/publishForm/view.jsx @@ -181,10 +181,6 @@ class PublishForm extends React.PureComponent { return !!myClaims.find(claim => claim.name === name); } - minClaimBid() { - return 0.000097; - } - topClaimIsMine() { const myClaimInfo = this.myClaimInfo(); const { claimsByUri } = this.props; @@ -307,16 +303,8 @@ class PublishForm extends React.PureComponent { } handleBidChange(event) { - const value = event.target.value; - const min = this.minClaimBid(); - - if (value < min) { - this.refs.bid.showError(__(`The minimum amount is ${min} credits.`)); - return; - } - this.setState({ - bid: value, + bid: event.target.value, }); }