adding relative date which is pretty nice

This commit is contained in:
talksik
2022-01-18 04:27:05 -08:00
parent 7da303c244
commit 4626a76aa5
2 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -142,6 +142,7 @@ export default function KeyboardContextProvider({ children }) {
// setPlayerSrc as the next item if there is any
if (audioQueue && audioQueue.length > 0) {
toast("Playing Clip");
setPlayerSrc(audioQueue[0]);
}
}, [audioQueue]);
@@ -297,7 +298,7 @@ export default function KeyboardContextProvider({ children }) {
}
function onEndedPlaying(e) {
toast.success("finished playing");
// toast.success("finished playing");
// remove from queue and the queue manager will handle the rest
setAudioQueue((prevQueue) => {