fix: potential fix for viewport height issue (#1772)

This commit is contained in:
Aman Harwara
2022-10-09 20:37:44 +05:30
committed by GitHub
parent 037007f0ec
commit cd1669f56f
2 changed files with 38 additions and 15 deletions

View File

@@ -7,6 +7,7 @@ export const MediaQueryBreakpoints = {
lg: '(min-width: 1024px)',
xl: '(min-width: 1280px)',
'2xl': '(min-width: 1536px)',
pointerFine: '(pointer: fine)',
} as const
export const useMediaQuery = (mediaQuery: string) => {