import { createSelector } from 'reselect';

/**
 * Direct selector to the {{ camelCase name }} state domain
 */
const select{{ properCase name }}Domain = () => state => state.get('{{ camelCase name }}');

/**
 * Other specific selectors
 */


/**
 * Default selector used by {{ properCase name }}
 */

const select{{ properCase name }} = () => createSelector(
  select{{ properCase name }}Domain(),
  (substate) => substate
);

export default select{{ properCase name }};
export {
  select{{ properCase name }}Domain,
};

import { createSelector } from 'reselect';

/**
 * Direct selector to the {{ camelCase name }} state domain
 */
const select{{ properCase name }}Domain = () => state => state.get('{{ camelCase name }}');

/**
 * Other specific selectors
 */


/**
 * Default selector used by {{ properCase name }}
 */

const select{{ properCase name }} = () => createSelector(
  select{{ properCase name }}Domain(),
  (substate) => substate.toJS()
);

export default select{{ properCase name }};
export {
  select{{ properCase name }}Domain,
};

Fix selectors generator to not show an error message by default
Fix selectors generator to not show an error message by default
