mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-27 23:06:29 -04:00
Convert app state to zustand stores
This commit is contained in:
@@ -1,13 +1 @@
|
||||
import { createSelector } from 'reselect';
|
||||
import AppState from 'App/State/AppState';
|
||||
|
||||
function createDimensionsSelector() {
|
||||
return createSelector(
|
||||
(state: AppState) => state.app.dimensions,
|
||||
(dimensions) => {
|
||||
return dimensions;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
export default createDimensionsSelector;
|
||||
// This file has been removed - use useAppDimensions or useAppDimension from App/appStore instead
|
||||
|
||||
Reference in New Issue
Block a user