remove double title
This commit is contained in:
parent
7635bbf281
commit
1e76ca6bf1
@ -34,10 +34,6 @@ export function ReadyView(state: State.Ready): VNode {
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash deposit</i18n.Translate>
|
||||
</SubTitle>
|
||||
<section>
|
||||
{Amounts.isNonZero(state.cost) && (
|
||||
<Part
|
||||
|
@ -30,10 +30,6 @@ export function IgnoredView(state: State.Ignored): VNode {
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash refund</i18n.Translate>
|
||||
</SubTitle>
|
||||
<section>
|
||||
<p>
|
||||
<i18n.Translate>You've ignored the tip.</i18n.Translate>
|
||||
@ -47,10 +43,6 @@ export function InProgressView(state: State.InProgress): VNode {
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash refund</i18n.Translate>
|
||||
</SubTitle>
|
||||
<section>
|
||||
<p>
|
||||
<i18n.Translate>The refund is in progress.</i18n.Translate>
|
||||
@ -82,10 +74,6 @@ export function ReadyView(state: State.Ready): VNode {
|
||||
const { i18n } = useTranslationContext();
|
||||
return (
|
||||
<Fragment>
|
||||
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash refund</i18n.Translate>
|
||||
</SubTitle>
|
||||
<section>
|
||||
<p>
|
||||
<i18n.Translate>
|
||||
|
@ -28,10 +28,6 @@ export function IgnoredView(state: State.Ignored): VNode {
|
||||
const { i18n } = useTranslationContext();
|
||||
return (
|
||||
<Fragment>
|
||||
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash tip</i18n.Translate>
|
||||
</SubTitle>
|
||||
<span>
|
||||
<i18n.Translate>You've ignored the tip.</i18n.Translate>
|
||||
</span>
|
||||
@ -43,11 +39,6 @@ export function ReadyView(state: State.Ready): VNode {
|
||||
const { i18n } = useTranslationContext();
|
||||
return (
|
||||
<Fragment>
|
||||
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash tip</i18n.Translate>
|
||||
</SubTitle>
|
||||
|
||||
<section>
|
||||
<p>
|
||||
<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();
|
||||
return (
|
||||
<Fragment>
|
||||
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash tip</i18n.Translate>
|
||||
</SubTitle>
|
||||
<section>
|
||||
<i18n.Translate>
|
||||
Tip from <code>{state.merchantBaseUrl}</code> accepted. Check your
|
||||
|
@ -60,9 +60,6 @@ export function ReadyView({
|
||||
}
|
||||
return (
|
||||
<Fragment>
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash transfer</i18n.Translate>
|
||||
</SubTitle>
|
||||
<section style={{ textAlign: "left" }}>
|
||||
<p>
|
||||
<TextField
|
||||
|
@ -36,9 +36,6 @@ export function ReadyView({
|
||||
const { i18n } = useTranslationContext();
|
||||
return (
|
||||
<Fragment>
|
||||
<SubTitle>
|
||||
<i18n.Translate>Digital cash transfer</i18n.Translate>
|
||||
</SubTitle>
|
||||
<section style={{ textAlign: "left" }}>
|
||||
<Part title={i18n.str`Subject`} text={<div>{summary}</div>} />
|
||||
<Part title={i18n.str`Amount`} text={<Amount value={raw} />} />
|
||||
|
Loading…
Reference in New Issue
Block a user