summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/bank/src/pages/home/index.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/bank/src/pages/home/index.tsx b/packages/bank/src/pages/home/index.tsx
index b130dd1..b701844 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -1631,6 +1631,8 @@ export function BankHome(): VNode {
}
if (pageState.tryRegister) {
// @ts-ignore
+ console.log("allow registrations?", __LIBEUFIN_UI_ALLOW_REGISTRATIONS__)
+ // @ts-ignore
if (__LIBEUFIN_UI_ALLOW_REGISTRATIONS__) {
return (
<PageContext.Provider value={[pageState, pageStateSetter]}>
@@ -1643,7 +1645,7 @@ export function BankHome(): VNode {
return (
<PageContext.Provider value={[pageState, pageStateSetter]}>
<BankFrame>
- <p>i18n`Currently, the bank is not accepting new registrations!`</p>
+ <p>{i18n`Currently, the bank is not accepting new registrations!`}</p>
</BankFrame>
</PageContext.Provider>
);