mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix butterchurn preset display not updating
This commit is contained in:
@@ -479,7 +479,8 @@ const VisualizerInner = () => {
|
||||
};
|
||||
|
||||
const CurrentPresetDisplay = () => {
|
||||
const currentPreset = useSettingsStore.getState().visualizer.butterchurn.currentPreset;
|
||||
const currentPreset = useSettingsStore((store) => store.visualizer.butterchurn.currentPreset);
|
||||
|
||||
return (
|
||||
<Text className={styles['preset-overlay']} isNoSelect size="sm">
|
||||
{currentPreset}
|
||||
|
||||
Reference in New Issue
Block a user