Files
weave-scope/client/app/scripts/contrast-main.js
jpellizzari c9048d8661 Revert "Merge pull request #2204 from weaveworks/contrast-as-component"
This reverts commit 68e8cbf4f6, reversing
changes made to 00408b84e8.

Reverts bug where contrast mode is showing by default
2017-02-14 10:59:34 -08:00

25 lines
560 B
JavaScript

import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import '../styles/contrast.scss';
import '../images/favicon.ico';
import configureStore from './stores/configureStore';
const store = configureStore();
function renderApp() {
const App = require('./components/app').default;
ReactDOM.render((
<Provider store={store}>
<App />
</Provider>
), document.getElementById('app'));
}
renderApp();
if (module.hot) {
module.hot.accept('./components/app', renderApp);
}