diff --git a/apps/marginfi-v2-ui/src/components/Staking/StakingCard/StakingCard.tsx b/apps/marginfi-v2-ui/src/components/Staking/StakingCard/StakingCard.tsx index fce5fa4375..92a6c42aef 100644 --- a/apps/marginfi-v2-ui/src/components/Staking/StakingCard/StakingCard.tsx +++ b/apps/marginfi-v2-ui/src/components/Staking/StakingCard/StakingCard.tsx @@ -220,7 +220,7 @@ export const StakingCard: FC = () => { const priceImpact = Number(newQuote.priceImpactPct); const displayedPriceImpact = Number(quoteResponseMeta.quoteResponse.priceImpactPct); const priceImpactIncrease = (priceImpact - displayedPriceImpact) / displayedPriceImpact; - if (displayedPriceImpact > 0 && priceImpactIncrease > 0.001) { + if (displayedPriceImpact > 0 && priceImpact >= 0.01 && priceImpactIncrease > 0.001) { throw new Error("Price impact increased too much from quote, please try again"); }