aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/components/AsyncButton.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-12-09 09:09:20 -0300
committerSebastian <sebasjm@gmail.com>2022-12-09 09:09:20 -0300
commit0bd47e107c9127561da33719a0a7c6de88c35f2e (patch)
treee2780d9d63eca6feb231d1403adc61b9d0835ca6 /packages/demobank-ui/src/components/AsyncButton.tsx
parentced7fa6bb4a2546178d3f7a740efe634c25297e1 (diff)
copyleft header
Diffstat (limited to 'packages/demobank-ui/src/components/AsyncButton.tsx')
-rw-r--r--packages/demobank-ui/src/components/AsyncButton.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/components/AsyncButton.tsx b/packages/demobank-ui/src/components/AsyncButton.tsx
index eec11f4a1..0e1391109 100644
--- a/packages/demobank-ui/src/components/AsyncButton.tsx
+++ b/packages/demobank-ui/src/components/AsyncButton.tsx
@@ -1,6 +1,6 @@
/*
This file is part of GNU Taler
- (C) 2021 Taler Systems S.A.
+ (C) 2022 Taler Systems S.A.
GNU Taler is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -21,9 +21,7 @@
import { ComponentChildren, h, VNode } from "preact";
import { useLayoutEffect, useRef } from "preact/hooks";
-// import { LoadingModal } from "../modal";
-import { useAsync } from "../hooks/async";
-// import { Translate } from "../../i18n";
+import { useAsync } from "../hooks/async.js";
type Props = {
children: ComponentChildren;