From df078f7bd63729e670c487c1f33482ef5132cce8 Mon Sep 17 00:00:00 2001 From: Koper Date: Tue, 29 Aug 2023 23:54:13 +0700 Subject: [PATCH] Put reflector.media back into english transcription mode --- www/app/transcripts/useWebSockets.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/app/transcripts/useWebSockets.ts b/www/app/transcripts/useWebSockets.ts index a6a7a387..726aed22 100644 --- a/www/app/transcripts/useWebSockets.ts +++ b/www/app/transcripts/useWebSockets.ts @@ -80,9 +80,7 @@ export const useWebSockets = (transcriptId: string | null): UseWebSockets => { switch (message.event) { case "TRANSCRIPT": if (message.data.text) { - setTranscriptText( - (message.data.translation ?? message.data.text ?? "").trim(), - ); + setTranscriptText((message.data.text ?? "").trim()); console.debug("TRANSCRIPT event:", message.data); } break;