diff --git a/app/utils.ts b/app/utils.ts index a272d56..120b1e1 100644 --- a/app/utils.ts +++ b/app/utils.ts @@ -98,13 +98,6 @@ export function useMobileScreen() { return width <= MOBILE_MAX_WIDTH; } -export function isMobileScreen() { - if (typeof window === "undefined") { - return false; - } - return window.innerWidth <= MOBILE_MAX_WIDTH; -} - export function isFirefox() { return ( typeof navigator !== "undefined" && /firefox/i.test(navigator.userAgent)