25 lines
621 B
JavaScript
25 lines
621 B
JavaScript
'use strict';
|
|
|
|
import React from "react";
|
|
import {render} from "react-dom";
|
|
|
|
import {Provider} from "react-redux";
|
|
|
|
import StoreService from './services/StoreService';
|
|
import TraderDashboard from "./components/TraderDashboard.jsx";
|
|
|
|
import "@ag-grid-enterprise/all-modules/dist/styles/ag-grid.css";
|
|
import "@ag-grid-enterprise/all-modules/dist/styles/ag-theme-fresh.css";
|
|
|
|
let store = StoreService.STORE;
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
render(
|
|
<Provider store={store}>
|
|
<TraderDashboard />
|
|
</Provider>,
|
|
document.querySelector('#traderDashboard')
|
|
);
|
|
});
|
|
|