mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 17:29:14 +00:00
17 lines
320 B
JavaScript
Executable File
17 lines
320 B
JavaScript
Executable File
import { createSelector } from 'reselect';
|
|
|
|
/**
|
|
* Direct selector to the list state domain
|
|
*/
|
|
|
|
const selectGlobalDomain = () => state => state.get('global');
|
|
|
|
const makeSelectBlockApp = () => createSelector(
|
|
selectGlobalDomain(),
|
|
(globalState) => globalState.get('blockApp'),
|
|
);
|
|
|
|
export {
|
|
makeSelectBlockApp,
|
|
};
|