improve mobile support
All checks were successful
Deploy / deploy (push) Successful in 6m50s

This commit is contained in:
Lee 2024-09-30 14:27:50 +01:00
parent 93893f0a27
commit 7a8ece1587

@ -2,7 +2,7 @@ import { useEffect, useState } from "react";
export function useIsMobile() {
const checkMobile = () => {
return window.innerWidth < 1536;
return window.innerWidth < 768;
};
const [isMobile, setIsMobile] = useState(checkMobile());