diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-21 12:11:31 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-26 16:57:55 -0300 |
commit | 8aa9ce6d20b41b7eb9b438a56ccd34cb0da35f80 (patch) | |
tree | 5cec8219a136469f2c689c47a74b28e52eb5992b /packages/merchant-backoffice-ui/src/index.tsx | |
parent | 5a1f528d8806bcb15d5c4c8364554502c11931a7 (diff) | |
download | wallet-core-8aa9ce6d20b41b7eb9b438a56ccd34cb0da35f80.tar.gz wallet-core-8aa9ce6d20b41b7eb9b438a56ccd34cb0da35f80.tar.bz2 wallet-core-8aa9ce6d20b41b7eb9b438a56ccd34cb0da35f80.zip |
wip
Diffstat (limited to 'packages/merchant-backoffice-ui/src/index.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/index.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/index.tsx b/packages/merchant-backoffice-ui/src/index.tsx index 87ed8e26f..46a3223bb 100644 --- a/packages/merchant-backoffice-ui/src/index.tsx +++ b/packages/merchant-backoffice-ui/src/index.tsx @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2021-2023 Taler Systems S.A. + (C) 2021-2024 Taler Systems S.A. GNU Taler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -21,4 +21,8 @@ import "./scss/main.scss"; const app = document.getElementById("app"); -render(<Application />, app as any); +if (app) { + render(<Application />, app); +} else { + console.error("HTML element with id 'app' not found."); +} |