aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-12-07 13:03:15 -0300
committerSebastian <sebasjm@gmail.com>2022-12-07 16:08:18 -0300
commit59fae3cc210513dac8c582654fa470ce360befc8 (patch)
treecc083115f6a574ec67727c8baa0881864cb628a1 /packages
parentfff43ad0ede5725271ef99c68e3c9358cd68c501 (diff)
fix jsx config
Diffstat (limited to 'packages')
-rw-r--r--packages/demobank-ui/src/pages/home/BankFrame.tsx5
-rw-r--r--packages/demobank-ui/tsconfig.json3
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. */,