Skip to content

Commit

Permalink
fix(app): max size button (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
avclarke authored Aug 4, 2023
1 parent b19b938 commit 75d875e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/state/futures/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ export const selectTradePrice = createSelector(
selectSmartMarginOrderPrice,
selectMarketIndexPrice,
(type, orderPrice, indexPrice) => {
return type === FuturesMarginType.CROSS_MARGIN ? indexPrice : wei(orderPrice || 0)
return type === FuturesMarginType.CROSS_MARGIN ? indexPrice : wei(orderPrice || indexPrice)
}
)

Expand Down

0 comments on commit 75d875e

Please sign in to comment.