Skip to content

Commit

Permalink
feat: margin tip issue
Browse files Browse the repository at this point in the history
  • Loading branch information
naturexie committed Feb 4, 2025
1 parent 160f5af commit b51f5d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screens/Trading/components/TradingOperate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ const TradingOperate: React.FC<TradingOperateProps> = ({ onMobileClose, id }) =>
if (new Decimal(debt_amount || 0).gte(availableLiquidityForMargin || 0)) {
return {
isExceed: true,
availableLiquidity,
availableLiquidity: availableLiquidityForMargin,
};
}
if (new Decimal(asset.config.min_borrowed_amount || 0).gt(0)) {
Expand Down

0 comments on commit b51f5d6

Please sign in to comment.