fix jsx config
This commit is contained in:
parent
fff43ad0ed
commit
59fae3cc21
@ -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();
|
||||
|
@ -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. */,
|
||||
|
Loading…
Reference in New Issue
Block a user