blob: 932a6375f884cf0b429a4bb5813be25082b47278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import { MainView } from "./MainView";
import { Docs } from "../documents/Documents";
import { CurrentUserUtils } from "../../server/authentication/models/current_user_utils";
import * as ReactDOM from 'react-dom';
import * as React from 'react';
(async () => {
await Docs.Prototypes.initialize();
await CurrentUserUtils.loadCurrentUser();
ReactDOM.render(<MainView />, document.getElementById('root'));
})();
|