making it nicer
This commit is contained in:
@@ -213,6 +213,11 @@ export default function AudioHandler() {
|
||||
};
|
||||
|
||||
const playLastClip = () => {
|
||||
if (audioQueue.length > 0) {
|
||||
setAudioQueue([]);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!selectedConvoId) {
|
||||
toast.error("select a conversation before playing");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user