feat: add width, height as props to App.tsx (#1871)

This commit is contained in:
Aakansha Doshi
2020-07-07 20:40:39 +05:30
committed by GitHub
parent b1261eea70
commit 9351b2821c
9 changed files with 184 additions and 27 deletions

View File

@ -56,6 +56,8 @@ export const getDefaultAppState = (): AppState => {
gridSize: null,
editingGroupId: null,
selectedGroupIds: {},
width: window.innerWidth,
height: window.innerHeight,
};
};