🧑‍💻 Address PR comments

This commit is contained in:
ajnart
2023-03-21 11:26:19 +08:00
parent 1aeee38c0d
commit 3bb0f20066
3 changed files with 7 additions and 8 deletions

View File

@@ -20,7 +20,6 @@ export const useNamedWrapperColumnCount = (): 'small' | 'medium' | 'large' | nul
const mainAreaWidth = useGridstackStore((x) => x.mainAreaWidth);
if (!mainAreaWidth) return null;
// TODO: Calculate rem to pixels using Calc function
if (mainAreaWidth >= 1400) return 'large';
if (mainAreaWidth >= 800) return 'medium';