mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-03-05 08:06:52 +08:00
fixup
This commit is contained in:
@@ -66,6 +66,9 @@ export function useMobileScreen() {
|
||||
}
|
||||
|
||||
export function isMobileScreen() {
|
||||
if (typeof window === "undefined") {
|
||||
return false;
|
||||
}
|
||||
return window.innerWidth <= 600;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user