12345678910111213141516171819 |
- import { ReducerRegistry } from '../base/redux';
-
- import { SET_SHARED_VIDEO_STATUS } from './actionTypes';
-
- /**
- * Reduces the Redux actions of the feature features/shared-video.
- */
- ReducerRegistry.register('features/shared-video', (state = {}, action) => {
- switch (action.type) {
- case SET_SHARED_VIDEO_STATUS:
- return {
- ...state,
- status: action.status
- };
-
- default:
- return state;
- }
- });
|