File tree Expand file tree Collapse file tree
app/components/UI/Predict/views/PredictBuyPreview Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,20 +196,10 @@ const PredictBuyPreview = () => {
196196 const providerFee = preview ?. fees ?. providerFee ?? 0 ;
197197 const total = currentValue + providerFee + metamaskFee ;
198198
199- const minimumBetFees = useMemo (
200- ( ) => ( MINIMUM_BET * ( preview ?. fees ?. totalFeePercentage ?? 0 ) ) / 100 ,
201- [ preview ?. fees ?. totalFeePercentage ] ,
202- ) ;
203-
204- // Validation constants and states
205- const minimumBetWithFees = useMemo (
206- ( ) => MINIMUM_BET + minimumBetFees ,
207- [ minimumBetFees ] ,
208- ) ;
209199 const hasInsufficientFunds = total > balance ;
210200 const isBelowMinimum = currentValue > 0 && currentValue < MINIMUM_BET ;
211201 const canPlaceBet =
212- currentValue >= minimumBetWithFees &&
202+ currentValue >= MINIMUM_BET &&
213203 ! hasInsufficientFunds &&
214204 preview &&
215205 ! isLoading &&
You can’t perform that action at this time.
0 commit comments