From 50be5b8b6e9c05416a045177bec01cdfccafbb27 Mon Sep 17 00:00:00 2001 From: damencho Date: Wed, 2 Oct 2024 17:54:35 -0500 Subject: [PATCH] squash: Renames action. --- react/features/transcribing/actionTypes.ts | 2 +- react/features/transcribing/actions.ts | 8 ++++---- react/features/transcribing/reducer.ts | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/react/features/transcribing/actionTypes.ts b/react/features/transcribing/actionTypes.ts index 2982dfa137e..e5da70b8ee3 100644 --- a/react/features/transcribing/actionTypes.ts +++ b/react/features/transcribing/actionTypes.ts @@ -8,7 +8,7 @@ * } * @private */ -export const _TRANSCRIBER_JOINED = 'TRANSCRIBER_JOINED'; +export const TRANSCRIBER_JOINED = 'TRANSCRIBER_JOINED'; /** * The type of Redux action signalling that the transcriber has left diff --git a/react/features/transcribing/actions.ts b/react/features/transcribing/actions.ts index 9f0ef78fe61..e95a0f048a2 100644 --- a/react/features/transcribing/actions.ts +++ b/react/features/transcribing/actions.ts @@ -1,6 +1,6 @@ import { - TRANSCRIBER_LEFT, - _TRANSCRIBER_JOINED + TRANSCRIBER_JOINED, + TRANSCRIBER_LEFT } from './actionTypes'; /** @@ -8,13 +8,13 @@ import { * * @param {string} participantId - The participant id of the transcriber. * @returns {{ - * type: _TRANSCRIBER_JOINED, + * type: TRANSCRIBER_JOINED, * participantId: string * }} */ export function transcriberJoined(participantId: string) { return { - type: _TRANSCRIBER_JOINED, + type: TRANSCRIBER_JOINED, transcriberJID: participantId }; } diff --git a/react/features/transcribing/reducer.ts b/react/features/transcribing/reducer.ts index d2fa2c29b12..07166139f4d 100644 --- a/react/features/transcribing/reducer.ts +++ b/react/features/transcribing/reducer.ts @@ -1,8 +1,8 @@ import ReducerRegistry from '../base/redux/ReducerRegistry'; import { - TRANSCRIBER_LEFT, - _TRANSCRIBER_JOINED + TRANSCRIBER_JOINED, + TRANSCRIBER_LEFT } from './actionTypes'; /** @@ -44,7 +44,7 @@ export interface ITranscribingState { ReducerRegistry.register('features/transcribing', (state = _getInitialState(), action): ITranscribingState => { switch (action.type) { - case _TRANSCRIBER_JOINED: + case TRANSCRIBER_JOINED: return { ...state, isTranscribing: true,