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 477B

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