-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
30 lines (24 loc) · 834 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter, Route } from 'react-router-dom';
import configureStore from './store';
import SpeechProvider from './providers/SpeechProvider';
import LanguageProvider from './providers/LanguageProvider';
import './index.css';
import App from './components/App';
import registerServiceWorker from './registerServiceWorker';
const store = configureStore();
ReactDOM.render(
<Provider store={store}>
<SpeechProvider>
<LanguageProvider>
<BrowserRouter>
<Route path="/" component={App} />
</BrowserRouter>
</LanguageProvider>
</SpeechProvider>
</Provider>,
document.getElementById('root')
);
registerServiceWorker();