Skip to content

Commit 4ec9ff1

Browse files
authored
Merge pull request #1276 from peanutprotocol/fix/history
fix: await history entries
2 parents b83becf + f70ac7b commit 4ec9ff1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useTransactionHistory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function useTransactionHistory({
9393

9494
return {
9595
...data,
96-
entries: data.entries.map(completeHistoryEntry),
96+
entries: await Promise.all(data.entries.map(completeHistoryEntry)),
9797
}
9898
}
9999

0 commit comments

Comments
 (0)