diff --git a/src/components/JobDetails.js b/src/components/JobDetails.js index 1d2af81a4..4f48d39fa 100644 --- a/src/components/JobDetails.js +++ b/src/components/JobDetails.js @@ -238,20 +238,6 @@ export class Jobdetails extends React.Component { } } - startjob() { - var reInitialize = this.reInitializeJobState(); - var serviceSpec = this.fetchServiceSpec(); - Promise.all([reInitialize, serviceSpec]).then(() => { - let mpeTokenInstance = this.props.network.getMPEInstance(this.props.chainId); - mpeTokenInstance.balances(this.props.userAddress, (err, balance) => { - if (err) { - this.processChannelErrors("Unable to retrieve balance. Please retry with a higher gas") - return; - } - if (typeof balance !== 'undefined') { - balance = parseInt(balance) - } - startjob() { this.setState({enableFeedback:false}); var reInitialize = this.reInitializeJobState(); @@ -715,7 +701,7 @@ export class Jobdetails extends React.Component { {this.state.sliderValue}
- f +