Skip to content

Commit

Permalink
chore: add Redux devtools config
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff committed Jul 7, 2020
1 parent c80aeef commit d472272
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/store/enhancers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ import { compose } from 'redux';
import querySync from './querySync';
import projection from './projection';

export default compose(querySync, projection);
const composeEnhancers =
window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
trace: true,
traceLimit: 25,
}) || compose;

export default composeEnhancers(querySync, projection);

0 comments on commit d472272

Please # to comment.