refac: toast error
This commit is contained in:
1 parent
af48f346f1
commit
a863f98c53
52 files changed
+123
-123
No files matched your search
@@ -137,7 +137,7 @@
|
||||
const file = blobToFile(audioBlob, 'recording.wav');
|
||||
|
||||
const res = await transcribeAudio(localStorage.token, file).catch((error) => {
|
||||
toast.error(error);
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user