From 34e971cd7f7d6f172069bacb565377c0d3a95af6 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Thu, 15 Mar 2018 02:46:50 -0400 Subject: [PATCH] remove check for balance during publish This is being correctly done on the daemon now and the app shows appropriate error --- src/renderer/component/publishForm/view.jsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/renderer/component/publishForm/view.jsx b/src/renderer/component/publishForm/view.jsx index 4f770a803..b07f6083f 100644 --- a/src/renderer/component/publishForm/view.jsx +++ b/src/renderer/component/publishForm/view.jsx @@ -61,15 +61,6 @@ class PublishForm extends React.PureComponent { } handleSubmit() { - const { balance } = this.props; - const { bid } = this.state; - - if (bid > balance) { - this.handlePublishError({ message: 'insufficient funds' }); - - return; - } - this.setState({ submitting: true, });