Skip to content

Commit

Permalink
Merge pull request singnet#12 from Vivek205/feedback-section
Browse files Browse the repository at this point in the history
Err fix
  • Loading branch information
Vivek205 authored Apr 22, 2019
2 parents d8cafd6 + 0653f41 commit 1aa0931
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/components/JobDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -715,7 +701,7 @@ export class Jobdetails extends React.Component {
<span>{this.state.sliderValue}</span>
</div>
<div className="col-xs-7 col-sm-4 col-md-4 mt-23">
f
<Slider
value={this.state.sliderValue}
min={0}
max={6}
Expand Down

0 comments on commit 1aa0931

Please sign in to comment.