diff options
Diffstat (limited to 'packages/demobank-ui')
-rw-r--r-- | packages/demobank-ui/src/pages/home/BankFrame.tsx | 5 | ||||
-rw-r--r-- | packages/demobank-ui/tsconfig.json | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/packages/demobank-ui/src/pages/home/BankFrame.tsx b/packages/demobank-ui/src/pages/home/BankFrame.tsx index 2d405e58c..3b099e34b 100644 --- a/packages/demobank-ui/src/pages/home/BankFrame.tsx +++ b/packages/demobank-ui/src/pages/home/BankFrame.tsx @@ -15,12 +15,11 @@ */ import { Fragment, h, VNode } from "preact"; +import talerLogo from "../../assets/logo-white.svg"; +import { LangSelectorLikePy as LangSelector } from "../../components/menu/LangSelector.js"; import { PageStateType, usePageContext } from "../../context/pageState.js"; import { useTranslationContext } from "../../context/translation.js"; import { bankUiSettings } from "../../settings.js"; -import { LangSelectorLikePy as LangSelector } from "../../components/menu/LangSelector.js"; -import { StateUpdater } from "preact/hooks"; -import talerLogo from "../../assets/logo-white.svg"; export function BankFrame(Props: any): VNode { const { i18n } = useTranslationContext(); diff --git a/packages/demobank-ui/tsconfig.json b/packages/demobank-ui/tsconfig.json index 61be44bf1..daa274983 100644 --- a/packages/demobank-ui/tsconfig.json +++ b/packages/demobank-ui/tsconfig.json @@ -9,8 +9,7 @@ ], "allowJs": true /* Allow javascript files to be compiled. */, // "checkJs": true, /* Report errors in .js files. */ - "jsx": "react-jsx" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, - "jsxImportSource": "preact", + "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, "jsxFactory": "h", "jsxFragmentFactory": "Fragment", "noEmit": true /* Do not emit outputs. */, |