DocSpace-client/web/ASC.Web.Client/src/index.js

45 lines
1.3 KiB
JavaScript

import("./bootstrap");
//import React from "react";
//import ReactDOM from "react-dom";
//import "./custom.scss";
//import App from "./App";
//import * as serviceWorker from "./serviceWorker";
//import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
//import commonStore from '@appserver/common/store';
// import { Provider as MobxProvider } from "mobx-react";
// const { authStore } = commonStore;
// const paymentStore = new PaymentStore();
// const wizardStore = new WizardStore();
// const setupStore = new SettingsSetupStore();
// ReactDOM.render(
// <MobxProvider
// auth={authStore}
// payments={paymentStore}
// wizard={wizardStore}
// setup={setupStore}
// >
// <ErrorBoundary>
// <App />
// </ErrorBoundary>
// </MobxProvider>,
// document.getElementById("root")
// );
// redirectToDefaultPage();
// ReactDOM.render(
// <Provider store={store}>
// <ErrorBoundary>
// <App />
// </ErrorBoundary>
// </Provider>,
// document.getElementById("root")
// );
// // If you want your app to work offline and load faster, you can change
// // unregister() to register() below. Note this comes with some pitfalls.
// // Learn more about service workers: https://bit.ly/CRA-PWA
// serviceWorker.register();