diff options
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> |