commit e57cc0560e182f5fbfa0f4e07c5932c02a76ce9c
parent 82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8
Author: Florian Dold <florian.dold@gmail.com>
Date: Mon, 24 Apr 2017 16:22:21 +0200
adapt auditor page to new module loading strategy
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/pages/auditors.tsx b/src/pages/auditors.tsx
@@ -115,3 +115,5 @@ class CurrencyList extends React.Component<any, CurrencyListState> {
export function main() {
ReactDOM.render(<CurrencyList />, document.getElementById("container")!);
}
+
+document.addEventListener("DOMContentLoaded", main);
diff --git a/tsconfig.json b/tsconfig.json
@@ -56,4 +56,4 @@
"src/wxApi.ts",
"src/wxBackend.ts"
]
-}
+}
+\ No newline at end of file