Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/hotfix/v21.36.1' into release/v2…
Browse files Browse the repository at this point in the history
…2.0.0
  • Loading branch information
lambertkevin committed Apr 5, 2022
2 parents 921fef7 + 242dfc2 commit 01a10e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exchange/swap/getCompleteSwapHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const getCompleteSwapHistory = (
day = startOfDay(swap.operation.date);
data = [swap];
continue;
} else if (!skip) {
} else if (!skip && !data.find((d) => d.swapId === swap.swapId)) {
data.push(swap);
}

Expand Down

0 comments on commit 01a10e1

Please sign in to comment.