diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-03 15:32:48 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-03 15:32:48 +0200 |
commit | e0c9d480a73fa629c1e4a47d3e721f1d2d345406 (patch) | |
tree | f64c308af06109d682b909080330461032f3e988 /src/pages | |
parent | 062535770e1dabcdd2e1655f41ce01006a38af1a (diff) |
show log when log page is loaded
Diffstat (limited to 'src/pages')
-rw-r--r-- | src/pages/logs.tsx | 4 |
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")!); -} +}); |