mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-15 04:36:01 +08:00
chore: remove unused code
This commit is contained in:
parent
6bd75fae33
commit
7ac03b4d89
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user