CovOpen / CovMap

Web service to display large-scale epidemiological data and forecasts of the SARS-CoV-2 pandemic.
Apache License 2.0
8 stars 9 forks source link

Better way to detect mobile #281

Open kommander opened 4 years ago

kommander commented 4 years ago

better than const isMobile = useMediaQuery("(max-width:600px)");

DanielHabenicht commented 4 years ago

also centralize the breakpoints :)

kimamov commented 4 years ago

if you mean the hook inside AppBar it should not be needed... it was fixing a weird bug with the svg icon that might not be there anymore I try it out later.