Manav Rathi 2024-08-03 16:09:28 +05:30
parent 0db9bd04a1
commit 04d632b50e
No known key found for this signature in database

View File

@ -23,4 +23,4 @@ export const useIsMobileWidth = () =>
* See: https://github.com/mui/mui-x/issues/10039
*/
export const useIsTouchscreen = () =>
useMediaQuery("(hover: none) and (pointer: coarse)");
useMediaQuery("(hover: none) and (pointer: coarse)", { noSsr: true });