aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pages/logs.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/logs.tsx b/src/pages/logs.tsx
index 716eebae6..a1e5161ec 100644
--- a/src/pages/logs.tsx
+++ b/src/pages/logs.tsx
@@ -77,6 +77,6 @@ class Logs extends React.Component<any, LogsState> {
}
}
-export function main() {
+document.addEventListener("DOMContentLoaded", () => {
ReactDOM.render(<Logs />, document.getElementById("container")!);
-}
+});