diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-08-25 13:24:30 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-08-25 13:24:30 +0200 |
commit | a58f73ecdb995e02a770338aa8a8aa529ccfdfaa (patch) | |
tree | e1f329bb59ffd1fa4419241cf3bc849738103b54 /packages/demobank-ui/src | |
parent | 5ab3070b3a63c2e8fed0e413dea06cf03fb48f1e (diff) | |
parent | 896841aec5dc3594d83cc300349d20ec2270f88e (diff) |
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/demobank-ui/src')
-rw-r--r-- | packages/demobank-ui/src/components/app.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/components/app.tsx b/packages/demobank-ui/src/components/app.tsx index d65398765..ea86da518 100644 --- a/packages/demobank-ui/src/components/app.tsx +++ b/packages/demobank-ui/src/components/app.tsx @@ -15,7 +15,7 @@ */ import { - globalLogLevel, + getGlobalLogLevel, setGlobalLogLevelFromString, } from "@gnu-taler/taler-util"; import { TranslationProvider } from "@gnu-taler/web-util/browser"; @@ -62,9 +62,7 @@ const App: FunctionalComponent = () => { ); }; (window as any).setGlobalLogLevelFromString = setGlobalLogLevelFromString; -(window as any).getGlobaLevel = () => { - return globalLogLevel; -}; +(window as any).getGlobalLevel = getGlobalLogLevel; function localStorageProvider(): Map<unknown, unknown> { const map = new Map(JSON.parse(localStorage.getItem("app-cache") || "[]")); |