17 lines
381 B
TypeScript
17 lines
381 B
TypeScript
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'));
|