update(docs): fix view height
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { ssrWindow } from 'ssr-window'
|
||||
|
||||
export default (): Window & typeof globalThis & { chrome?: any } => {
|
||||
if (typeof window !== 'undefined') return window
|
||||
else return ssrWindow as any
|
||||
}
|
||||
Reference in New Issue
Block a user