From 8b2f53e3ed810a0539f76feb993f0044bc8c0f38 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 15 Oct 2017 19:28:35 +0200 Subject: fix tslint warnings --- src/webex/pages/confirm-contract.tsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/webex/pages/confirm-contract.tsx') diff --git a/src/webex/pages/confirm-contract.tsx b/src/webex/pages/confirm-contract.tsx index 5436cb5a6..f2e22bec4 100644 --- a/src/webex/pages/confirm-contract.tsx +++ b/src/webex/pages/confirm-contract.tsx @@ -124,9 +124,9 @@ class ContractPrompt extends React.Component (
  • {p.description}: {renderAmount(p.price)}
  • )) } - {(this.state.payStatus && this.state.payStatus.coinSelection) ? -

    The total price is {amount} (plus {renderAmount(this.state.payStatus.coinSelection.totalFees)} fees).

    + {(this.state.payStatus && this.state.payStatus.coinSelection) + ?

    + The total price is {amount}{" "} + (plus {renderAmount(this.state.payStatus.coinSelection.totalFees)} fees). +

    :

    The total price is {amount}.

    } @@ -232,7 +235,11 @@ class ContractPrompt extends React.Component
    - {(this.state.alreadyPaid ?

    You already paid for this, clicking "Confirm payment" will not cost money again.

    :

    )} + {(this.state.alreadyPaid + ?

    + You already paid for this, clicking "Confirm payment" will not cost money again. +

    + :

    )} {(this.state.error ?

    {this.state.error}

    :

    )}

    -- cgit v1.2.3