X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b29a65b9f9f02b338445c12b5d08b292f797c1c..d8b1643373ec164a5ae57cd10a951ea01f37f7d7:/src/store/store.ts diff --git a/src/store/store.ts b/src/store/store.ts index f842b0c6ef..0be577c45a 100644 --- a/src/store/store.ts +++ b/src/store/store.ts @@ -61,7 +61,8 @@ import { ApiClientAuthorizationMiddlewareService } from '~/store/api-client-auth const composeEnhancers = (process.env.NODE_ENV === 'development' && - window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({trace: true, traceLimit: 25})) || + window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && + window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({trace: true, traceLimit: 25})) || compose; export type RootState = ReturnType>;