Skip to content

Commit

Permalink
fix: DevToolsManager being removed in production making exports not work
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Jul 28, 2020
1 parent 89c8875 commit 024c27e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/rest-hooks/src/manager/DevToolsManager.ts
Expand Up @@ -16,7 +16,6 @@ export default class DevToolsManager implements Manager {

constructor(config: any = {}) {
this.devTools =
process.env.NODE_ENV !== 'production' &&
typeof window !== 'undefined' &&
(window as any).__REDUX_DEVTOOLS_EXTENSION__ &&
(window as any).__REDUX_DEVTOOLS_EXTENSION__.connect(config);
Expand Down

0 comments on commit 024c27e

Please sign in to comment.