Skip to content

Commit

Permalink
[explorev2] enabling redux dev tools (#1842)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Dec 15, 2016
1 parent d929bbf commit b6cba13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/assets/javascripts/explorev2/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { createStore, applyMiddleware, compose } from 'redux';
import { Provider } from 'react-redux';
import thunk from 'redux-thunk';
import { now } from '../modules/dates';
import { enhancer } from '../reduxUtils';

// jquery and bootstrap required to make bootstrap dropdown menu's work
const $ = window.$ = require('jquery'); // eslint-disable-line
Expand Down Expand Up @@ -66,7 +67,7 @@ bootstrappedState.viz.form_data.filters =
getFilters(bootstrappedState.viz.form_data, bootstrapData.datasource_type);

const store = createStore(exploreReducer, bootstrappedState,
compose(applyMiddleware(thunk))
compose(applyMiddleware(thunk), enhancer())
);

ReactDOM.render(
Expand All @@ -75,4 +76,3 @@ ReactDOM.render(
</Provider>,
exploreViewContainer
);

0 comments on commit b6cba13

Please sign in to comment.