mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Opt
https://mui.com/material-ui/react-use-media-query/#client-side-only-rendering
This commit is contained in:
parent
0db9bd04a1
commit
04d632b50e
@ -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 });
|
||||
|
Loading…
x
Reference in New Issue
Block a user