summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/index.html2
-rw-r--r--gui/src/renderer/index.ts9
2 files changed, 4 insertions, 7 deletions
diff --git a/gui/src/renderer/index.html b/gui/src/renderer/index.html
index d757d23bdd..3f2da3d633 100644
--- a/gui/src/renderer/index.html
+++ b/gui/src/renderer/index.html
@@ -6,7 +6,7 @@
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'">
</head>
<body>
- <div class="app-container"></div>
+ <div id="app"></div>
<script>var exports = {};</script>
<script src="./index.js"></script>
</body>
diff --git a/gui/src/renderer/index.ts b/gui/src/renderer/index.ts
index aada6fd97b..906be20bfa 100644
--- a/gui/src/renderer/index.ts
+++ b/gui/src/renderer/index.ts
@@ -1,9 +1,6 @@
-import * as RX from 'reactxp';
+import ReactDOM from 'react-dom';
import App from './app';
const app = new App();
-const view = app.renderView();
-
-RX.App.initialize(true, true);
-RX.UserInterface.setMainView(view);
-RX.UserInterface.useCustomScrollbars(true);
+const container = document.getElementById('app');
+ReactDOM.render(app.renderView(), container);