fix: Export Button Content Shift; chore: bump axios and add logging (#3668)

* chore: bump axios version

* fix: export button glitch

* fix: remove console logs
This commit is contained in:
Marco Beretta 2024-08-17 00:03:27 +02:00 committed by GitHub
parent 16c9aed1bb
commit 9f4c516615
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 22 additions and 18 deletions

View file

@ -75,7 +75,7 @@ export function BrowserTTS({ isLast, index, messageId, content, className }: TMe
}}
src={audioRef.current?.src}
onError={(error) => {
console.error('Error fetching audio:', error);
logger.error('Error fetching audio:', error);
}}
id={`audio-${messageId}`}
muted
@ -166,7 +166,7 @@ export function EdgeTTS({ isLast, index, messageId, content, className }: TMessa
}}
src={audioRef.current?.src}
onError={(error) => {
console.error('Error fetching audio:', error);
logger.error('Error fetching audio:', error);
}}
id={`audio-${messageId}`}
muted
@ -245,7 +245,7 @@ export function ExternalTTS({ isLast, index, messageId, content, className }: TM
}}
src={audioRef.current?.src}
onError={(error) => {
console.error('Error fetching audio:', error);
logger.error('Error fetching audio:', error);
}}
id={`audio-${messageId}`}
muted