mirror of https://github.com/lidarr/Lidarr
14 lines
299 B
TypeScript
14 lines
299 B
TypeScript
import { createSelector } from 'reselect';
|
|
import AppState from 'App/State/AppState';
|
|
|
|
function createSystemStatusSelector() {
|
|
return createSelector(
|
|
(state: AppState) => state.system.status,
|
|
(status) => {
|
|
return status.item;
|
|
}
|
|
);
|
|
}
|
|
|
|
export default createSystemStatusSelector;
|