From: Eduardo San Martin Morote Date: Wed, 23 Sep 2020 16:31:58 +0000 (+0200) Subject: refactor: simpler devtools X-Git-Tag: v2.0.0-alpha.2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba18eef341ba4f7c61c0e80042d91c2d6f77a8c;p=thirdparty%2Fvuejs%2Fpinia.git refactor: simpler devtools --- diff --git a/src/store.ts b/src/store.ts index efb37c92..0776c796 100644 --- a/src/store.ts +++ b/src/store.ts @@ -204,7 +204,7 @@ export function createStore< (store = buildStore(id, state, getters, actions, getInitialState(id))) ) - if (IS_CLIENT && __BROWSER__ && (__DEV__ || __FEATURE_PROD_DEVTOOLS__)) { + if (IS_CLIENT && __DEV__ /*|| __FEATURE_PROD_DEVTOOLS__*/) { const app = getClientApp() if (app) { addDevtools(app, store, req)