import { Provider } from 'mobx-react';
import React from 'react';
import ReactDOM from 'react-dom';
import './scss/index.scss';
import { RootStore } from './stores/root.store';
import { Wrapper } from './wrapper';

const rootStore = new RootStore();

const app = (
  <Provider {...rootStore}>
    <Wrapper />
  </Provider>
);

ReactDOM.render(app, document.getElementById('app'));
