From fd05059269398947866f3746075352949a380fd4 Mon Sep 17 00:00:00 2001 From: chambaz Date: Mon, 11 Nov 2024 17:17:26 +0000 Subject: [PATCH] fix: missing useMemo dep --- .../src/components/stake-calculator/stake-calculator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mrgn-ui/src/components/stake-calculator/stake-calculator.tsx b/packages/mrgn-ui/src/components/stake-calculator/stake-calculator.tsx index 063027227e..10b551071b 100644 --- a/packages/mrgn-ui/src/components/stake-calculator/stake-calculator.tsx +++ b/packages/mrgn-ui/src/components/stake-calculator/stake-calculator.tsx @@ -90,7 +90,7 @@ const StakeCalculator = ({ solPrice, apy = 8.5 }: StakeCalculatorProps) => { }; }), ]; - }, [debouncedAmount, duration, isUsdDenominated, debouncedPricePrediction, solPrice]); + }, [debouncedAmount, duration, isUsdDenominated, debouncedPricePrediction, solPrice, apy]); React.useEffect(() => { if (