Last active
June 23, 2021 01:48
-
-
Save diego3g/39aa5fa855f0e5eaee49af15554f2dd1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { transactions, balance } = response.data; | |
const newTransactions = transactions.map(transaction => { | |
return { | |
...transaction, | |
formattedValue: formatValue(transaction.value), | |
// outros campos aqui | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment