Skip to content

Commit

Permalink
Removed unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
olarotseyi committed Aug 1, 2022
1 parent 41e66f2 commit e121673
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,6 @@ class CurrencyConverter {

return this.rates().then((rates) =>{
this.convertedValue = rates * this.currencyAmount

// as the google result now sends the exact converted
// currency, multiplying the rates with currencyAmount
// makes it redundant.
// this.convertedValue = rates * 1
return this.convertedValue
})
}
Expand Down

0 comments on commit e121673

Please sign in to comment.