Procházet zdrojové kódy

chore: remove unused code

ShengYan, Zhang před 1 rokem
rodič
revize
7ac03b4d89
1 změnil soubory, kde provedl 0 přidání a 7 odebrání
  1. 0 7
      app/utils.ts

+ 0 - 7
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)