diff --git a/src/client/preview/index.js b/src/client/preview/index.js index f0f3b706fa2e..5c392a89df93 100644 --- a/src/client/preview/index.js +++ b/src/client/preview/index.js @@ -14,7 +14,7 @@ import reducer from './reducer'; // check whether we're running on node/browser const { navigator } = global; -const isBrowser = navigator && navigator.userAgent !== 'storyshots'; +const isBrowser = navigator && navigator.userAgent !== 'storyshots' && !navigator.userAgent.includes('Node.js'); const storyStore = new StoryStore(); const reduxStore = createStore(reducer);