diff options
author | Sebastian <sebasjm@gmail.com> | 2023-12-27 11:16:44 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-12-27 11:16:44 -0300 |
commit | 8fb8506b274c07440895c8412586b3745aa8fa1b (patch) | |
tree | 9d833a66bcf107d2af14192a4fe23113fcb7986d /packages/taler-wallet-webextension/src/cta/Reward | |
parent | 0ea6677555bf93f5d3b9a4ce53e55aff339210e8 (diff) | |
download | wallet-core-8fb8506b274c07440895c8412586b3745aa8fa1b.tar.xz |
fix: body is not always present in all html documents
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Reward')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Reward/views.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Reward/views.tsx b/packages/taler-wallet-webextension/src/cta/Reward/views.tsx index 3c3190a07..9b4a6c3ef 100644 --- a/packages/taler-wallet-webextension/src/cta/Reward/views.tsx +++ b/packages/taler-wallet-webextension/src/cta/Reward/views.tsx @@ -15,15 +15,13 @@ */ import { TranslatedString } from "@gnu-taler/taler-util"; +import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { Fragment, h, VNode } from "preact"; import { Amount } from "../../components/Amount.js"; -import { LogoHeader } from "../../components/LogoHeader.js"; import { Part } from "../../components/Part.js"; -import { Link, SubTitle, WalletAction } from "../../components/styled/index.js"; -import { useTranslationContext } from "@gnu-taler/web-util/browser"; +import { TermsOfService } from "../../components/TermsOfService/index.js"; import { Button } from "../../mui/Button.js"; import { State } from "./index.js"; -import { TermsOfService } from "../../components/TermsOfService/index.js"; export function IgnoredView(state: State.Ignored): VNode { const { i18n } = useTranslationContext(); @@ -42,7 +40,7 @@ export function ReadyView(state: State.Ready): VNode { <Fragment> <section> <p> - <i18n.Translate>The merchant is offering you a tip</i18n.Translate> + <i18n.Translate>The merchant is offering you a reward</i18n.Translate> </p> <Part title={i18n.str`Amount`} |