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 { } } -export function main() { +document.addEventListener("DOMContentLoaded", () => { ReactDOM.render(, document.getElementById("container")!); -} +});