diff --git a/app/components/TradeModal.jsx b/app/components/TradeModal.jsx index 024d26b..da3105e 100644 --- a/app/components/TradeModal.jsx +++ b/app/components/TradeModal.jsx @@ -202,7 +202,7 @@ export default function TradeModal({ type, fund, holding, onClose, onConfirm, pe }; const isValid = isBuy - ? (!!amount && !!feeRate && !!date && calcShare !== null && !loadingBuyMeta && (parseFloat(amount) || 0) >= (Number(minBuyAmount) || 0)) + ? (!!amount && !!feeRate && !!date && calcShare !== null && !loadingBuyMeta) : (!!share && !!date); const handleSetShareFraction = (fraction) => { @@ -434,9 +434,7 @@ export default function TradeModal({ type, fund, holding, onClose, onConfirm, pe