Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #675 from LiskHQ/674-eslint-fix
Browse files Browse the repository at this point in the history
Fix eslint error in liskAmount component -Closes #674
  • Loading branch information
slaweet committed Aug 29, 2017
2 parents b70c570 + f2ad1f0 commit a334fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/liskAmount/index.js
Expand Up @@ -6,7 +6,7 @@ const roundTo = (value, places) => {
if (!places) {
return value;
}
const x = Math.pow(10, places);
const x = 10 ** places;
return Math.round(value * x) / x;
};

Expand Down

0 comments on commit a334fe9

Please sign in to comment.