Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Apr 10, 2020
1 parent f1136bc commit 7f7834f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/v2/js/grants/fund.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ $(document).ready(function() {

let realTokenAmount = Number(data.amount_per_period * Math.pow(10, decimals));
let realApproval;

const approve_buffer = 100000;

if (data.contract_version == 1 || data.num_periods == 1) {

realApproval = Number(((grant_amount + gitcoin_grant_amount) * data.num_periods * Math.pow(10, decimals)) + approve_buffer);
Expand Down

0 comments on commit 7f7834f

Please sign in to comment.