jiti-meet/react/features/unsupported-browser/reducer.js

24 lines
619 B
JavaScript
Raw Normal View History

import { ReducerRegistry } from '../base/redux';
import { LANDING_IS_SHOWN } from './actionTypes';
ReducerRegistry.register(
'features/unsupported-browser',
(state = {}, action) => {
switch (action.type) {
case LANDING_IS_SHOWN:
return {
...state,
/**
* Flag that shows that mobile landing is shown.
*
* @type {boolean}
*/
landingIsShown: true
};
}
return state;
});