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