Skip to content

Commit

Permalink
up node-sass version
Browse files Browse the repository at this point in the history
  • Loading branch information
Veserion committed Jun 17, 2021
1 parent dc0fec7 commit a844abb
Show file tree
Hide file tree
Showing 3 changed files with 249 additions and 243 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"lodash-webpack-plugin": "^0.11.5",
"node-sass": "^4.13.1",
"node-sass": "^5.0.0",
"react-test-renderer": "^16.8.4",
"sass-loader": "7.0.3",
"sass-resources-loader": "1.3.3",
Expand Down
2 changes: 1 addition & 1 deletion src/js/services/TransactionTransformerService.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const transformSingle = async (currencyService, spamDetectionService, assetServi
const transformMultiple = async (currencyService, spamDetectionService, assetService, transactions) => {
const transactionsWithAssetDetails = [2, 4, 14]

const infoMap = !!transactions[0].applicationStatus ? transactions : (await currencyService.getApi().transactions.status(transactions.map(({id}) => id)))
const infoMap = transactions[0] && !!transactions[0].applicationStatus ? transactions : (await currencyService.getApi().transactions.status(transactions.map(({id}) => id)))
.reduce((acc, val) => ({...acc, [val.id]: val}), {});

const assetsIds = transactions
Expand Down
Loading

0 comments on commit a844abb

Please sign in to comment.