aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/components/CheckboxOutlined.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/CheckboxOutlined.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/components/CheckboxOutlined.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/components/CheckboxOutlined.tsx b/packages/taler-wallet-webextension/src/components/CheckboxOutlined.tsx
index 2fc8316f5..3b9519f39 100644
--- a/packages/taler-wallet-webextension/src/components/CheckboxOutlined.tsx
+++ b/packages/taler-wallet-webextension/src/components/CheckboxOutlined.tsx
@@ -14,9 +14,8 @@
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-import { JSX } from "preact/jsx-runtime";
import { Outlined, StyledCheckboxLabel } from "./styled/index";
-import { h } from "preact";
+import { h, VNode } from "preact";
interface Props {
enabled: boolean;
@@ -47,7 +46,7 @@ export function CheckboxOutlined({
enabled,
onToggle,
label,
-}: Props): JSX.Element {
+}: Props): VNode {
return (
<Outlined>
<StyledCheckboxLabel onClick={onToggle}>