From 649d7046936f6964737028385e3cbe9ad0097c88 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 27 Sep 2023 11:15:36 -0300 Subject: [PATCH] login time --- .../demobank-ui/src/hooks/useCredentialsChecker.ts | 2 +- packages/demobank-ui/src/pages/BankFrame.tsx | 11 ++++++----- packages/demobank-ui/src/pages/RegistrationPage.tsx | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/demobank-ui/src/hooks/useCredentialsChecker.ts b/packages/demobank-ui/src/hooks/useCredentialsChecker.ts index 02f4544db..7745e2f5e 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: 1000 * 1000 * 5 //60 * 60 * 24 * 7 + d_us: 60 * 60 * 24 * 7 }, refreshable: true, } diff --git a/packages/demobank-ui/src/pages/BankFrame.tsx b/packages/demobank-ui/src/pages/BankFrame.tsx index 3d09fcec7..15ef8a036 100644 --- a/packages/demobank-ui/src/pages/BankFrame.tsx +++ b/packages/demobank-ui/src/pages/BankFrame.tsx @@ -81,7 +81,7 @@ export function BankFrame({
- + - Close @@ -402,18 +401,20 @@ function TestingTag(): VNode { } function Footer() { + const { i18n } = useTranslationContext() return (