add album section count badge

This commit is contained in:
jeffvli
2025-12-27 01:55:34 -08:00
parent 8b2d162733
commit a21ee21652
2 changed files with 10 additions and 13 deletions
@@ -14,9 +14,7 @@ const VisualizerInner = () => {
const canvasRef = createRef<HTMLDivElement>();
const accent = useSettingsStore((store) => store.general.accent);
const visualizer = useSettingsStore((store) => store.visualizer);
const opacity = useSettingsStore(
(store) => store.visualizer.audiomotionanalyzer.opacity,
);
const opacity = useSettingsStore((store) => store.visualizer.audiomotionanalyzer.opacity);
const [motion, setMotion] = useState<AudioMotionAnalyzer>();
// Check if a gradient name is a custom gradient
@@ -220,13 +218,7 @@ const VisualizerInner = () => {
}
}, [motion, options]);
return (
<div
className={styles.visualizer}
ref={canvasRef}
style={{ opacity }}
/>
);
return <div className={styles.visualizer} ref={canvasRef} style={{ opacity }} />;
};
export const Visualizer = () => {