Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rstormsf committed Feb 27, 2018
1 parent cadb474 commit ab8e9e6
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 5 deletions.
56 changes: 56 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"name": "multi-sender-app",
"version": "0.1.0",
"license": "GPL3",
"homepage": "https://poanetwork.github.io/multisender",
"dependencies": {
"bignumber.js": "^6.0.0",
"gh-pages": "^1.1.0",
"mobx": "^3.5.1",
"mobx-react": "^4.4.2",
"node-sass-chokidar": "0.0.3",
Expand All @@ -28,6 +30,8 @@
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jsdom",
"eject": "react-app-rewired eject"
"eject": "react-app-rewired eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build -o poa"
}
}
5 changes: 1 addition & 4 deletions src/stores/tokenStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,7 @@ class TokenStore {
let balance = Object.values(account)[0];
this.totalBalance = new BN(balance).plus(this.totalBalance).toString(10)
const acc = {}
Object.defineProperty(acc, address, {
value: balance,
writable: true
});
acc[`"${address}"`] = balance
newAddresses.push(acc)
balance = this.multiplier.times(balance);
this.balances_to_send.push(balance.toString(10))
Expand Down

0 comments on commit ab8e9e6

Please sign in to comment.