projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41732be
)
Make redux devtools optional for development build refs #14660
author
Peter Amstutz <pamstutz@veritasgenetics.com>
Tue, 8 Jan 2019 18:30:47 +0000
(13:30 -0500)
committer
Peter Amstutz <pamstutz@veritasgenetics.com>
Tue, 8 Jan 2019 18:33:46 +0000
(13:33 -0500)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
src/store/store.ts
patch
|
blob
|
history
diff --git
a/src/store/store.ts
b/src/store/store.ts
index f842b0c6efadc59f43b812bea337ee32663ee996..0be577c45a159a450749ef37d664e7717fefd600 100644
(file)
--- 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<ReturnType<typeof createRootReducer>>;