Fix: Kuratoren-Scope für Specials & Audio-Playback im Curator-Dashboard
This commit is contained in:
@@ -332,6 +332,12 @@ export default function CuratorPage() {
|
||||
setPlayingSongId(null);
|
||||
setAudioElement(null);
|
||||
});
|
||||
|
||||
// Reset Zustand, wenn der Track zu Ende gespielt ist
|
||||
audio.onended = () => {
|
||||
setPlayingSongId(null);
|
||||
setAudioElement(null);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user