Skip to content

Commit

Permalink
Take profit app error fix (#3982)
Browse files Browse the repository at this point in the history
  • Loading branch information
piekczyk authored Jul 3, 2024
1 parent 353f7dc commit 32c2ff2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const mapProfits = (
token: value.token,
}
}
return simulation
return simulation?.profits
? simulation.profits.map((sim) => {
const triggerPrice = isShort
? new BigNumber(lambdaPriceDenomination).div(new BigNumber(sim.triggerPrice))
Expand Down

0 comments on commit 32c2ff2

Please sign in to comment.