You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

reducer.js 619B

1234567891011121314151617181920212223
  1. import { ReducerRegistry } from '../base/redux';
  2. import { LANDING_IS_SHOWN } from './actionTypes';
  3. ReducerRegistry.register(
  4. 'features/unsupported-browser',
  5. (state = {}, action) => {
  6. switch (action.type) {
  7. case LANDING_IS_SHOWN:
  8. return {
  9. ...state,
  10. /**
  11. * Flag that shows that mobile landing is shown.
  12. *
  13. * @type {boolean}
  14. */
  15. landingIsShown: true
  16. };
  17. }
  18. return state;
  19. });