diff --git a/packages/demobank-ui/src/hooks/useCredentialsChecker.ts b/packages/demobank-ui/src/hooks/useCredentialsChecker.ts index 7745e2f5e..b3dedb654 100644 --- a/packages/demobank-ui/src/hooks/useCredentialsChecker.ts +++ b/packages/demobank-ui/src/hooks/useCredentialsChecker.ts @@ -15,7 +15,7 @@ export function useCredentialsChecker() { scope: "readwrite" as "write", //FIX: different than merchant duration: { // d_us: "forever" //FIX: should return shortest - d_us: 60 * 60 * 24 * 7 + d_us: 60 * 60 * 24 * 7 * 1000 * 1000 }, refreshable: true, } diff --git a/packages/demobank-ui/src/pages/AccountPage/views.tsx b/packages/demobank-ui/src/pages/AccountPage/views.tsx index 32aedebf2..83846be90 100644 --- a/packages/demobank-ui/src/pages/AccountPage/views.tsx +++ b/packages/demobank-ui/src/pages/AccountPage/views.tsx @@ -31,94 +31,53 @@ export function InvalidIbanView({ error }: State.InvalidIban) { const IS_PUBLIC_ACCOUNT_ENABLED = false -function ImportantMessage(): VNode { - const { i18n } = useTranslationContext(); - return
-
- {bankUiSettings.showDemoNav && -
- {IS_PUBLIC_ACCOUNT_ENABLED ? (
-
-
- -
++ +
+