Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Jun 12, 2019
1 parent d542b76 commit 07afd33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/assets/v2/js/grants/fund.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ $(document).ready(function() {
console.log('grant amount: ' + grant_amount);
console.log('gitcoin grant amount: ' + gitcoin_grant_amount);
// don't need to approve for gitcoin_grant_amount since we will directly transfer it
realApproval = Number(((grant_amount * data.num_periods)) * Math.pow(10, decimals) + 1 );
realApproval = Number(((grant_amount * data.num_periods)) * Math.pow(10, decimals) + 1);
}

let realGasPrice = Number(gitcoin_grant_amount * Math.pow(10, decimals)); // optional grants fee
Expand Down Expand Up @@ -253,7 +253,7 @@ const donationPayment = (token, account, donationAmountString) => {
}).on('transactionHash', function(transactionHash) {
console.log('One time old contract donation success: ' + transactionHash);
});
}
};

const subscribeToGrant = (transactionHash) => {
web3.eth.getAccounts(function(err, accounts) {
Expand Down Expand Up @@ -431,8 +431,8 @@ const updateSummary = (element) => {
$('.summary-frequency-unit-gitcoin').html($('#frequency_unit').val());

if (contract_version == 0) {
$('.summary-period-gitcoin').html("");
$('.summary-frequency-unit-gitcoin').html("");
$('.summary-period-gitcoin').html('');
$('.summary-frequency-unit-gitcoin').html('');
$('.summary-rollup-gitcoin').hide();
}

Expand Down

0 comments on commit 07afd33

Please sign in to comment.