mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-05 13:40:08 -05:00
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;
|