Skip to content

Commit

Permalink
fix: missing useMemo dep
Browse files Browse the repository at this point in the history
  • Loading branch information
chambaz committed Nov 11, 2024
1 parent 76f1c2c commit fd05059
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit fd05059

Please sign in to comment.