forked from cerc-io/snowballtools-base
🔧 chore: useMediaQuery change md to >720px
This commit is contained in:
parent
274762cbfe
commit
3737550f7f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user