merchant-backoffice

ZZZ: Inactive/Deprecated
Log | Files | Refs | Submodules | README

commit 9a795b7d12925598733bccbba6813f611f584a3b
parent 0ad997918b2843cf1b1ee1d119aa6ea574352432
Author: ng <�>
Date:   Sat, 22 Oct 2022 22:58:45 +0200

chore: 💡 Add FIXME

Diffstat:
Mpackages/bank/src/pages/home/index.tsx | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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';