From 9a795b7d12925598733bccbba6813f611f584a3b Mon Sep 17 00:00:00 2001 From: ng <�> Date: Sat, 22 Oct 2022 22:58:45 +0200 Subject: chore: 💡 Add FIXME MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/bank/src/pages/home/index.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') 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'; -- cgit v1.2.3