From cee1b8001284adbe5e2cf506435b37db26ec7987 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 18 Feb 2023 10:48:49 -0300 Subject: disable public account --- packages/demobank-ui/src/pages/BankFrame.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'packages/demobank-ui/src/pages/BankFrame.tsx') diff --git a/packages/demobank-ui/src/pages/BankFrame.tsx b/packages/demobank-ui/src/pages/BankFrame.tsx index fe7571c38..cf52cb0f3 100644 --- a/packages/demobank-ui/src/pages/BankFrame.tsx +++ b/packages/demobank-ui/src/pages/BankFrame.tsx @@ -28,6 +28,8 @@ import { import { useBusinessAccountDetails } from "../hooks/circuit.js"; import { bankUiSettings } from "../settings.js"; +const IS_PUBLIC_ACCOUNT_ENABLED = false; + const logger = new Logger("BankFrame"); function MaybeBusinessButton({ @@ -89,12 +91,19 @@ export function BankFrame({ {maybeDemoContent(

- - This part of the demo shows how a bank that supports Taler - directly would work. In addition to using your own bank account, - you can also see the transaction history of some{" "} - Public Accounts. - + {IS_PUBLIC_ACCOUNT_ENABLED ? ( + + This part of the demo shows how a bank that supports Taler + directly would work. In addition to using your own bank + account, you can also see the transaction history of some{" "} + Public Accounts. + + ) : ( + + This part of the demo shows how a bank that supports Taler + directly would work. + + )}

, )} -- cgit v1.2.3