diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-23 11:31:56 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-23 11:31:56 -0300 |
commit | cd590b18e856a128af3c31d9e7d4a621ea44024c (patch) | |
tree | b20e8f4a446f4edddf364755032389d267beedb6 /packages/aml-backoffice-ui/src/index.tsx | |
parent | 2b8ae6381776b0d6fc9cc8c0b8275fbdc6d3295b (diff) | |
download | wallet-core-cd590b18e856a128af3c31d9e7d4a621ea44024c.tar.xz |
tidy up: some header missing
Diffstat (limited to 'packages/aml-backoffice-ui/src/index.tsx')
-rw-r--r-- | packages/aml-backoffice-ui/src/index.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/aml-backoffice-ui/src/index.tsx b/packages/aml-backoffice-ui/src/index.tsx index c2ac4c84b..ad0d394d8 100644 --- a/packages/aml-backoffice-ui/src/index.tsx +++ b/packages/aml-backoffice-ui/src/index.tsx @@ -18,5 +18,8 @@ import { App } from "./App.js"; import { h, render } from "preact"; const app = document.getElementById("app"); - -render(<App />, app as any); +if (!app) { + console.error("could not found app element") +} else { + render(<App />, app); +} |