adds timeout and humanMessage

This commit is contained in:
Sara
2023-11-02 18:49:37 +01:00
parent 6282583d92
commit 73327d2e9e
11 changed files with 68 additions and 24 deletions

View File

@@ -65,7 +65,7 @@ const useMp3 = (protectedPath: boolean, id: string): Mp3Response => {
});
})
.catch((err) => {
setError(err);
setError(err, "There was an error loading the audio");
setErrorState(err);
});
};