Waiting for info about exchange ...
; } const totalCost = Amounts.add(rci.overhead, rci.withdrawFee).amount; return (The tip is handled by the exchange {rci.exchangeInfo.baseUrl}.{" "} The exchange provider will charge {" "} {renderAmount(totalCost)} {" "}.
Processing ...
; } const renderAccepted = () => ( <>You've accepted this tip! Go back to merchant
{this.renderExchangeInfo()} > ); const renderButtons = () => ( <> { this.renderExchangeInfo() } > ); const renderDiscarded = () => (You've discarded this tip. Go back to merchant.
); return (You received a tip of {renderAmount(ts.amount)} from {ts.merchantDomain}.
{ this.state.discarded ? renderDiscarded() : ts.accepted ? renderAccepted() : renderButtons() }