diff options
author | Sebastian <sebasjm@gmail.com> | 2023-02-27 19:56:41 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-02-27 19:56:41 -0300 |
commit | ed7aa0806d1502c1eadd556ece6384fc95caac2f (patch) | |
tree | 1c252834b1ad96723672b02c7ca9e6bb0cab9328 /packages/taler-wallet-webextension/src/cta/Tip | |
parent | 93dc842e9729c5bbd0eca8ed17359da9326f6dde (diff) | |
download | wallet-core-ed7aa0806d1502c1eadd556ece6384fc95caac2f.tar.xz |
fix logo duplication
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Tip')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Tip/views.tsx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Tip/views.tsx b/packages/taler-wallet-webextension/src/cta/Tip/views.tsx index 000daf19e..196da7a1b 100644 --- a/packages/taler-wallet-webextension/src/cta/Tip/views.tsx +++ b/packages/taler-wallet-webextension/src/cta/Tip/views.tsx @@ -27,8 +27,7 @@ import { State } from "./index.js"; export function IgnoredView(state: State.Ignored): VNode { const { i18n } = useTranslationContext(); return ( - <WalletAction> - <LogoHeader /> + <Fragment> <SubTitle> <i18n.Translate>Digital cash tip</i18n.Translate> @@ -36,15 +35,14 @@ export function IgnoredView(state: State.Ignored): VNode { <span> <i18n.Translate>You've ignored the tip.</i18n.Translate> </span> - </WalletAction> + </Fragment> ); } export function ReadyView(state: State.Ready): VNode { const { i18n } = useTranslationContext(); return ( - <WalletAction> - <LogoHeader /> + <Fragment> <SubTitle> <i18n.Translate>Digital cash tip</i18n.Translate> @@ -81,15 +79,14 @@ export function ReadyView(state: State.Ready): VNode { </i18n.Translate> </Button> </section> - </WalletAction> + </Fragment> ); } export function AcceptedView(state: State.Accepted): VNode { const { i18n } = useTranslationContext(); return ( - <WalletAction> - <LogoHeader /> + <Fragment> <SubTitle> <i18n.Translate>Digital cash tip</i18n.Translate> @@ -100,6 +97,6 @@ export function AcceptedView(state: State.Accepted): VNode { transactions list for more details. </i18n.Translate> </section> - </WalletAction> + </Fragment> ); } |