fix jsx config

This commit is contained in:
Sebastian 2022-12-07 13:03:15 -03:00
parent fff43ad0ed
commit 59fae3cc21
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 3 additions and 5 deletions

View File

@ -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();

View File

@ -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. */,