From f979c6936088800be84316a66536427efd5bce63 Mon Sep 17 00:00:00 2001 From: Alan Hughes Date: Thu, 18 Jan 2024 14:52:47 +0000 Subject: [PATCH] fix constants reference --- apps/menu-bar/src/hooks/useSafeDisplayDimensions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/menu-bar/src/hooks/useSafeDisplayDimensions.ts b/apps/menu-bar/src/hooks/useSafeDisplayDimensions.ts index 426cad6f..08bbb9e3 100644 --- a/apps/menu-bar/src/hooks/useSafeDisplayDimensions.ts +++ b/apps/menu-bar/src/hooks/useSafeDisplayDimensions.ts @@ -5,7 +5,7 @@ import MenuBarModule from '../modules/MenuBarModule'; export const SAFE_AREA_FACTOR = 0.85; -const { initialScreenSize } = MenuBarModule.constants; +const { initialScreenSize } = MenuBarModule; export const useSafeDisplayDimensions = () => { const [dimensions, setDimensions] = useState(initialScreenSize);