From c6b7ec7c9cee214523a30fe2d4b749d58f4e5a2d Mon Sep 17 00:00:00 2001 From: Avram Tudor Date: Wed, 13 Dec 2023 16:15:09 +0200 Subject: [PATCH] fix(transcript) duplicated namespace (#14151) --- react/features/subtitles/actions.any.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/features/subtitles/actions.any.ts b/react/features/subtitles/actions.any.ts index 49bfd7e2513f..b7857a042ba3 100644 --- a/react/features/subtitles/actions.any.ts +++ b/react/features/subtitles/actions.any.ts @@ -93,11 +93,11 @@ export function toggleRequestingSubtitles() { export function setRequestingSubtitles( enabled: boolean, displaySubtitles = true, - language: string | null = DEFAULT_LANGUAGE) { + language: string | null = `translation-languages:${DEFAULT_LANGUAGE}`) { return { type: SET_REQUESTING_SUBTITLES, displaySubtitles, enabled, - language: `translation-languages:${language}` + language }; }