diff options
author | Sebastian <sebasjm@gmail.com> | 2023-02-28 19:03:43 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-02-28 19:03:43 -0300 |
commit | 9922192b0dba2e479b5af3e29c1d44b98e4d29d7 (patch) | |
tree | 260f2836892b93188bf17e30b2024ccea21262dd /packages/demobank-ui/src/pages/QrCodeSection.tsx | |
parent | 740849dd89e3746fdc34c3a112288dbfe4bd7220 (diff) |
fix #7729
Diffstat (limited to 'packages/demobank-ui/src/pages/QrCodeSection.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/QrCodeSection.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/pages/QrCodeSection.tsx b/packages/demobank-ui/src/pages/QrCodeSection.tsx index 708e28657..8f85fff91 100644 --- a/packages/demobank-ui/src/pages/QrCodeSection.tsx +++ b/packages/demobank-ui/src/pages/QrCodeSection.tsx @@ -14,17 +14,17 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ +import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser"; import { h, VNode } from "preact"; import { useEffect } from "preact/hooks"; import { QR } from "../components/QR.js"; -import { useTranslationContext } from "@gnu-taler/web-util/lib/index.browser"; export function QrCodeSection({ talerWithdrawUri, - onAbort, + onAborted, }: { talerWithdrawUri: string; - onAbort: () => void; + onAborted: () => void; }): VNode { const { i18n } = useTranslationContext(); useEffect(() => { @@ -64,7 +64,7 @@ export function QrCodeSection({ <br /> <a class="pure-button btn-cancel" - onClick={onAbort} + onClick={onAborted} >{i18n.str`Abort`}</a> </div> </article> |