fix process.browser usage
This commit is contained in:
parent
a56591fb8e
commit
9ffd2a1d2d
|
@ -10,7 +10,7 @@ const pseudoVirtualListStore = new PseudoVirtualListStore()
|
|||
|
||||
pseudoVirtualListStore.computeForRealm('intersectionStates', {})
|
||||
|
||||
if (process.browser && process.env.NODE_NODE !== 'production') {
|
||||
if (process.browser && process.env.NODE_ENV !== 'production') {
|
||||
window.pseudoVirtualListStore = pseudoVirtualListStore
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue