From 07f25566ca51b7faf6462a57d15f4ebbfc733ab0 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Mon, 6 Apr 2020 21:05:51 +0530
Subject: start spring cleaning, use rollup instead of both webpack and rollup

---
 src/webex/pages/reset-required.tsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'src/webex/pages/reset-required.tsx')

diff --git a/src/webex/pages/reset-required.tsx b/src/webex/pages/reset-required.tsx
index 81f21f459..e58243b34 100644
--- a/src/webex/pages/reset-required.tsx
+++ b/src/webex/pages/reset-required.tsx
@@ -21,7 +21,6 @@
  */
 
 import * as React from "react";
-import * as ReactDOM from "react-dom";
 
 import * as wxApi from "../wxApi";
 
@@ -89,6 +88,6 @@ class ResetNotification extends React.Component<any, State> {
   }
 }
 
-document.addEventListener("DOMContentLoaded", () => {
-  ReactDOM.render(<ResetNotification />, document.getElementById("container")!);
-});
+export function createResetRequiredPage() {
+  return <ResetNotification />;
+}
-- 
cgit v1.2.3

