remove check for balance during publish
This is being correctly done on the daemon now and the app shows appropriate error
This commit is contained in:
parent
9bcb75e234
commit
34e971cd7f
1 changed files with 0 additions and 9 deletions
|
@ -61,15 +61,6 @@ class PublishForm extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
const { balance } = this.props;
|
|
||||||
const { bid } = this.state;
|
|
||||||
|
|
||||||
if (bid > balance) {
|
|
||||||
this.handlePublishError({ message: 'insufficient funds' });
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
submitting: true,
|
submitting: true,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue