From 9ffd2a1d2d4c27e66cd5e31a96fd38436c784bca Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Wed, 14 Feb 2018 19:00:25 -0800 Subject: [PATCH] fix process.browser usage --- routes/_components/pseudoVirtualList/pseudoVirtualListStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/_components/pseudoVirtualList/pseudoVirtualListStore.js b/routes/_components/pseudoVirtualList/pseudoVirtualListStore.js index 85e1b6ce..7c823103 100644 --- a/routes/_components/pseudoVirtualList/pseudoVirtualListStore.js +++ b/routes/_components/pseudoVirtualList/pseudoVirtualListStore.js @@ -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 }