Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const App: FunctionComponent = () => {
const isDesktop = useMediaQuery("screen and (min-width: 1025px)");
const isTablet = useMediaQuery("screen and (min-width: 768px)");
const isPhone = useMediaQuery("(screen and (max-width: 767px))");
return (
<header>
</header>
const App: FunctionComponent = () => {
const isDesktop = useMediaQuery("screen and (min-width: 1025px)");
const isTablet = useMediaQuery("screen and (min-width: 768px)");
const isPhone = useMediaQuery("(screen and (max-width: 767px))");
return (
<header>
</header>
const App: FunctionComponent = () => {
const isDesktop = useMediaQuery("screen and (min-width: 1025px)");
const isTablet = useMediaQuery("screen and (min-width: 768px)");
const isPhone = useMediaQuery("(screen and (max-width: 767px))");
return (
<header>
</header>