Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

functions.js 391B

123456789101112131415
  1. /* @flow */
  2. /**
  3. * Retreives the current profile settings from redux store. The profile
  4. * is persisted to localStorage so it's a good candidate to store settings
  5. * in it.
  6. *
  7. * @param {Object} state - The Redux state.
  8. * @returns {Object}
  9. */
  10. export function getProfile(state: Object) {
  11. const profileStateSlice = state['features/base/profile'];
  12. return profileStateSlice || {};
  13. }