From c689bc9f8bb555a844eada2c279b4616ba804196 Mon Sep 17 00:00:00 2001 From: Brikou CARRE Date: Sat, 19 Aug 2017 18:02:40 +0200 Subject: [PATCH] Simplify condition in mobx example (#2812) --- examples/with-mobx/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-mobx/store.js b/examples/with-mobx/store.js index 21a99fd7..ba88dce5 100644 --- a/examples/with-mobx/store.js +++ b/examples/with-mobx/store.js @@ -21,7 +21,7 @@ class Store { } export function initStore (isServer, lastUpdate = Date.now()) { - if (isServer && typeof window === 'undefined') { + if (isServer) { return new Store(isServer, lastUpdate) } else { if (store === null) {