diff --git a/superset/assets/javascripts/explore/index.jsx b/superset/assets/javascripts/explore/index.jsx index 00f2767f13dc9..ed4eeb0705005 100644 --- a/superset/assets/javascripts/explore/index.jsx +++ b/superset/assets/javascripts/explore/index.jsx @@ -14,16 +14,12 @@ import ExploreViewContainer from './components/ExploreViewContainer'; import { exploreReducer } from './reducers/exploreReducer'; import { appSetup } from '../common'; import './main.css'; -import { zh_CN } from './stores/zh_CN.js'; -import { en_US } from './stores/en_US.js'; -import { chooseMessage } from './stores/language.js'; appSetup(); initJQueryAjax(); const exploreViewContainer = document.getElementById('js-explore-view-container'); const bootstrapData = JSON.parse(exploreViewContainer.getAttribute('data-bootstrap')); -const localeMessage = chooseMessage(); const controls = getControlsState(bootstrapData, bootstrapData.form_data); delete bootstrapData.form_data; @@ -44,7 +40,6 @@ const bootstrappedState = Object.assign( triggerQuery: true, triggerRender: false, alert: null, - localMessage: localeMessage, }, ); const store = createStore(exploreReducer, bootstrappedState,