🔧 chore: useMediaQuery change md to >720px

This commit is contained in:
Andre H 2024-03-06 14:14:49 +08:00
parent 274762cbfe
commit 3737550f7f

View File

@ -24,7 +24,7 @@ const Id = () => {
const client = useGQLClient(); const client = useGQLClient();
const location = useLocation(); const location = useLocation();
const isDesktopView = useMediaQuery('(min-width: 768px)'); // md: const isDesktopView = useMediaQuery('(min-width: 720px)'); // md:
const buttonSize = isDesktopView ? {} : { size: 'sm' as const }; const buttonSize = isDesktopView ? {} : { size: 'sm' as const };
const [project, setProject] = useState<ProjectType | null>(null); const [project, setProject] = useState<ProjectType | null>(null);