1234567891011121314151617 |
- // @flow
-
- import { ReducerRegistry } from '../base/redux';
-
- import { SET_TILE_VIEW } from './actionTypes';
-
- ReducerRegistry.register('features/video-layout', (state = {}, action) => {
- switch (action.type) {
- case SET_TILE_VIEW:
- return {
- ...state,
- tileViewEnabled: action.enabled
- };
- }
-
- return state;
- });
|