Skip to content

Commit

Permalink
Update TransactionContext.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-junaid authored Jan 14, 2022
1 parent 18e6f7f commit 6e0d483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/context/TransactionContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const TransactionsProvider = ({ children }) => {
timestamp: new Date(transaction.timestamp.toNumber() * 1000).toLocaleString(),
message: transaction.message,
keyword: transaction.keyword,
amount: parseInt(transaction.amount._hex) / 10 ** 18
amount: parseInt(transaction.amount._hex) / (10 ** 18)
}));

console.log(structuredTransactions);
Expand Down

0 comments on commit 6e0d483

Please sign in to comment.