2017-08-21 00:11:46 +00:00
|
|
|
import React from 'react';
|
2018-04-21 19:10:44 +00:00
|
|
|
import { Provider } from 'react-redux';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2017-08-21 00:11:46 +00:00
|
|
|
import store from './lib/createStore';
|
|
|
|
|
2018-04-21 19:10:44 +00:00
|
|
|
import Routes from './containers/Routes';
|
2017-08-21 00:11:46 +00:00
|
|
|
|
2018-04-21 19:10:44 +00:00
|
|
|
const RocketChat = () => (
|
|
|
|
<Provider store={store}>
|
|
|
|
<Routes />
|
|
|
|
</Provider>
|
|
|
|
);
|
2017-08-22 01:24:41 +00:00
|
|
|
|
2018-04-21 19:10:44 +00:00
|
|
|
export default RocketChat;
|