diff --git a/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useAnimations.ts b/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useAnimations.ts index 02c127769..cff7331de 100644 --- a/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useAnimations.ts +++ b/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useAnimations.ts @@ -28,7 +28,7 @@ export const useAnimations = ({ ...animationRecord[selectedChartType]?.({ barGroupType }) } : false; - }, [isAnimationEnabled, selectedChartType]); + }, [isAnimationEnabled, selectedChartType, barGroupType]); }; const animationRecord: Record<