mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04: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;
|