remove double title

This commit is contained in:
Sebastian 2023-03-02 08:40:03 -03:00
parent 7635bbf281
commit 1e76ca6bf1
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069
5 changed files with 0 additions and 35 deletions

View File

@ -34,10 +34,6 @@ export function ReadyView(state: State.Ready): VNode {
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash deposit</i18n.Translate>
</SubTitle>
<section> <section>
{Amounts.isNonZero(state.cost) && ( {Amounts.isNonZero(state.cost) && (
<Part <Part

View File

@ -30,10 +30,6 @@ export function IgnoredView(state: State.Ignored): VNode {
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash refund</i18n.Translate>
</SubTitle>
<section> <section>
<p> <p>
<i18n.Translate>You&apos;ve ignored the tip.</i18n.Translate> <i18n.Translate>You&apos;ve ignored the tip.</i18n.Translate>
@ -47,10 +43,6 @@ export function InProgressView(state: State.InProgress): VNode {
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash refund</i18n.Translate>
</SubTitle>
<section> <section>
<p> <p>
<i18n.Translate>The refund is in progress.</i18n.Translate> <i18n.Translate>The refund is in progress.</i18n.Translate>
@ -82,10 +74,6 @@ export function ReadyView(state: State.Ready): VNode {
const { i18n } = useTranslationContext(); const { i18n } = useTranslationContext();
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash refund</i18n.Translate>
</SubTitle>
<section> <section>
<p> <p>
<i18n.Translate> <i18n.Translate>

View File

@ -28,10 +28,6 @@ export function IgnoredView(state: State.Ignored): VNode {
const { i18n } = useTranslationContext(); const { i18n } = useTranslationContext();
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash tip</i18n.Translate>
</SubTitle>
<span> <span>
<i18n.Translate>You&apos;ve ignored the tip.</i18n.Translate> <i18n.Translate>You&apos;ve ignored the tip.</i18n.Translate>
</span> </span>
@ -43,11 +39,6 @@ export function ReadyView(state: State.Ready): VNode {
const { i18n } = useTranslationContext(); const { i18n } = useTranslationContext();
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash tip</i18n.Translate>
</SubTitle>
<section> <section>
<p> <p>
<i18n.Translate>The merchant is offering you a tip</i18n.Translate> <i18n.Translate>The merchant is offering you a tip</i18n.Translate>
@ -87,10 +78,6 @@ export function AcceptedView(state: State.Accepted): VNode {
const { i18n } = useTranslationContext(); const { i18n } = useTranslationContext();
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash tip</i18n.Translate>
</SubTitle>
<section> <section>
<i18n.Translate> <i18n.Translate>
Tip from <code>{state.merchantBaseUrl}</code> accepted. Check your Tip from <code>{state.merchantBaseUrl}</code> accepted. Check your

View File

@ -60,9 +60,6 @@ export function ReadyView({
} }
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash transfer</i18n.Translate>
</SubTitle>
<section style={{ textAlign: "left" }}> <section style={{ textAlign: "left" }}>
<p> <p>
<TextField <TextField

View File

@ -36,9 +36,6 @@ export function ReadyView({
const { i18n } = useTranslationContext(); const { i18n } = useTranslationContext();
return ( return (
<Fragment> <Fragment>
<SubTitle>
<i18n.Translate>Digital cash transfer</i18n.Translate>
</SubTitle>
<section style={{ textAlign: "left" }}> <section style={{ textAlign: "left" }}>
<Part title={i18n.str`Subject`} text={<div>{summary}</div>} /> <Part title={i18n.str`Subject`} text={<div>{summary}</div>} />
<Part title={i18n.str`Amount`} text={<Amount value={raw} />} /> <Part title={i18n.str`Amount`} text={<Amount value={raw} />} />