Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame^] | 1 | import React from 'react'; |
| 2 | import {Provider} from 'react-redux'; |
| 3 | import NotificationModal from 'nfvo-components/notifications/NotificationModal.jsx'; |
| 4 | import Loader from 'nfvo-components/loader/Loader.jsx'; |
| 5 | import store from './AppStore.js'; |
| 6 | |
| 7 | |
| 8 | class Application extends React.Component { |
| 9 | render() { |
| 10 | return ( |
| 11 | <Provider store={store}> |
| 12 | <div> |
| 13 | <NotificationModal /> |
| 14 | {this.props.children} |
| 15 | <Loader /> |
| 16 | </div> |
| 17 | </Provider> |
| 18 | ); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | export default Application; |
| 23 | |