summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorng <�>2022-10-22 22:58:45 +0200
committerng <�>2022-10-22 22:58:45 +0200
commit9a795b7d12925598733bccbba6813f611f584a3b (patch)
treea848119c255271a2afa12649c0a4e056532bf6ed /packages
parent0ad997918b2843cf1b1ee1d119aa6ea574352432 (diff)
downloadmerchant-backoffice-9a795b7d12925598733bccbba6813f611f584a3b.tar.gz
merchant-backoffice-9a795b7d12925598733bccbba6813f611f584a3b.tar.bz2
merchant-backoffice-9a795b7d12925598733bccbba6813f611f584a3b.zip
chore: 💡 Add FIXME
Diffstat (limited to 'packages')
-rw-r--r--packages/bank/src/pages/home/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/bank/src/pages/home/index.tsx b/packages/bank/src/pages/home/index.tsx
index bf9764b..c0dce56 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -13,6 +13,7 @@ import { LangSelectorLikePy as LangSelector } from '../../components/menu/LangSe
// FIXME: Fix usages of SWRConfig, doing this isn't the best practice (but hey, it works for now)
const SWRConfig = _SWRConfig as any;
+// FIXME: These will always be `__LIBEUFIN_UI_ALLOW_REGISTRATIONS__`; `??` = if the left side is null/undefined, use the right side, otherwise use the left side. Since the left side is a constant string, it will always pick the left side.
const UI_ALLOW_REGISTRATIONS = ('__LIBEUFIN_UI_ALLOW_REGISTRATIONS__') ?? 1;
const UI_IS_DEMO = ('__LIBEUFIN_UI_IS_DEMO__') ?? 0;
const UI_BANK_NAME = ('__LIBEUFIN_UI_BANK_NAME__') ?? 'Taler Bank';