mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-15 15:41:23 +00: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