diff options
-rw-r--r-- | src/pages/auditors.tsx | 2 | ||||
-rw-r--r-- | tsconfig.json | 2 |
2 files changed, 3 insertions, 1 deletions
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<any, CurrencyListState> { export function main() { ReactDOM.render(<CurrencyList />, 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 |