less hacking way of pulling poe data
This commit is contained in:
14
app/app.tsx
14
app/app.tsx
@@ -1,6 +1,16 @@
|
||||
import { Provider } from 'mobx-react';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { Home } from './components';
|
||||
import './scss/index.scss';
|
||||
import { RootStore } from './stores/root.store';
|
||||
import { Wrapper } from './wrapper';
|
||||
|
||||
ReactDOM.render(<Home />, document.getElementById('app'));
|
||||
const rootStore = new RootStore();
|
||||
|
||||
const app = (
|
||||
<Provider {...rootStore}>
|
||||
<Wrapper />
|
||||
</Provider>
|
||||
);
|
||||
|
||||
ReactDOM.render(app, document.getElementById('app'));
|
||||
|
||||
Reference in New Issue
Block a user