chore: copia de libs/shared con prefijo Pi y APIs de terceros actualizadas
This commit is contained in:
11
libs/ui/src/lib/util/loaders/state/loader.selectors.ts
Normal file
11
libs/ui/src/lib/util/loaders/state/loader.selectors.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// NgRx
|
||||
import { createFeatureSelector, createSelector } from '@ngrx/store';
|
||||
|
||||
// Store
|
||||
import { loadersKey, LoaderState } from './loader.reducer';
|
||||
|
||||
export const selectLoaderState = createFeatureSelector<LoaderState>(loadersKey);
|
||||
|
||||
export const getLoader = createSelector(selectLoaderState, (state) => {
|
||||
return state.loader;
|
||||
});
|
||||
Reference in New Issue
Block a user