whole queue working with the timeline

This commit is contained in:
Arjun Patel
2022-02-06 13:25:58 -08:00
parent 19a706fd93
commit 6fab106512
3 changed files with 5 additions and 3 deletions
@@ -43,8 +43,6 @@ export default function AudioHandler() {
const [audioQueue, setAudioQueue] = useRecoilState(audioQueueAtom);
function onEndedPlaying(e) {
toast.success("finished playing");
// remove from queue and the queue manager will handle the rest
setAudioQueue((prevQueue) => {
const newQueue: AudioClip[] = [...prevQueue];