remove double title
This commit is contained in:
parent
7635bbf281
commit
1e76ca6bf1
@ -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
|
||||||
|
@ -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've ignored the tip.</i18n.Translate>
|
<i18n.Translate>You'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>
|
||||||
|
@ -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've ignored the tip.</i18n.Translate>
|
<i18n.Translate>You'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
|
||||||
|
@ -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
|
||||||
|
@ -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} />} />
|
||||||
|
Loading…
Reference in New Issue
Block a user