mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref: Improve reducers TS (#12123)
This commit is contained in:
@@ -45,8 +45,8 @@ const STORE_NAME = 'features/recording';
|
||||
/**
|
||||
* Reduces the Redux actions of the feature features/recording.
|
||||
*/
|
||||
ReducerRegistry.register(STORE_NAME,
|
||||
(state: IRecordingState = DEFAULT_STATE, action) => {
|
||||
ReducerRegistry.register<IRecordingState>(STORE_NAME,
|
||||
(state = DEFAULT_STATE, action): IRecordingState => {
|
||||
switch (action.type) {
|
||||
|
||||
case CLEAR_RECORDING_SESSIONS:
|
||||
|
||||
Reference in New Issue
Block a user