From 7dc0fdb0cf9259434d39a4fe1148db3715842e02 Mon Sep 17 00:00:00 2001 From: J Caso Date: Mon, 28 Aug 2023 10:32:45 +0200 Subject: [PATCH] fix: useMediaQuery on larger screens --- ui/summit-2023/src/pages/Home/Home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/summit-2023/src/pages/Home/Home.tsx b/ui/summit-2023/src/pages/Home/Home.tsx index c444b05ec..6d568a2bc 100644 --- a/ui/summit-2023/src/pages/Home/Home.tsx +++ b/ui/summit-2023/src/pages/Home/Home.tsx @@ -5,7 +5,7 @@ import { useMediaQuery, useTheme } from '@mui/material'; const Home = () => { const theme = useTheme(); const isMobile = useMediaQuery(theme.breakpoints.down('sm')); - const isLarger = useMediaQuery(theme.breakpoints.up('xl')); + const isLarger = useMediaQuery('(min-width:1921px)'); return ( <>