mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-20 22:14:34 -04:00
ef19673a76
(cherry picked from commit 72db8099e0f4abc3176e397f8dda3b2b69026daf)
14 lines
282 B
TypeScript
14 lines
282 B
TypeScript
import { createSelector } from 'reselect';
|
|
import AppState from 'App/State/AppState';
|
|
|
|
function createHealthSelector() {
|
|
return createSelector(
|
|
(state: AppState) => state.system.health,
|
|
(health) => {
|
|
return health;
|
|
}
|
|
);
|
|
}
|
|
|
|
export default createHealthSelector;
|