(cherry picked from commit 53cf5308931069638c23925596a3fd8aaccc5d98) Co-authored-by: Mark McDowall <mark@mcdowall.ca>pull/9607/head
parent
f5914da2f9
commit
1ae98d618c
@ -1,8 +1,9 @@
|
||||
import { createSelector } from 'reselect';
|
||||
import AppState from 'App/State/AppState';
|
||||
|
||||
function createDimensionsSelector() {
|
||||
return createSelector(
|
||||
(state) => state.app.dimensions,
|
||||
(state: AppState) => state.app.dimensions,
|
||||
(dimensions) => {
|
||||
return dimensions;
|
||||
}
|
Loading…
Reference in new issue