From e57cc0560e182f5fbfa0f4e07c5932c02a76ce9c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 24 Apr 2017 16:22:21 +0200 Subject: adapt auditor page to new module loading strategy --- src/pages/auditors.tsx | 2 ++ tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/auditors.tsx b/src/pages/auditors.tsx index 4aa922128..41339b0d8 100644 --- a/src/pages/auditors.tsx +++ b/src/pages/auditors.tsx @@ -115,3 +115,5 @@ class CurrencyList extends React.Component { export function main() { ReactDOM.render(, document.getElementById("container")!); } + +document.addEventListener("DOMContentLoaded", main); diff --git a/tsconfig.json b/tsconfig.json index 8164b0bea..da19dba69 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -56,4 +56,4 @@ "src/wxApi.ts", "src/wxBackend.ts" ] -} +} \ No newline at end of file -- cgit v1.2.3