diff --git a/src/components/Music/Cava.tsx b/src/components/Music/Cava.tsx index f2878ef..80f8bc0 100644 --- a/src/components/Music/Cava.tsx +++ b/src/components/Music/Cava.tsx @@ -131,7 +131,7 @@ const InnerCava = (props: InnerKittyProps) => { return () => { if (requestRef.current) cancelAnimationFrame(requestRef.current); }; - }, [props.cols, props.audio, calculateBarHeights]); + }, [props.cols, props.audio]); return barHeights.map((value, i) => (