Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yanCode committed May 29, 2023
1 parent 6bd75fa commit 7ac03b4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ac03b4

Please sign in to comment.