Skip to content
Permalink
Browse files

fix(i18n): add intl support to request expiry label

  • Loading branch information...
korhaliv committed Jul 25, 2019
1 parent b569633 commit 5bc78227cb5e3377a22bda26c7103df9d807931e
Showing with 5 additions and 1 deletion.
  1. +5 −1 renderer/components/Request/RequestSummary.js
@@ -154,7 +154,11 @@ const RequestSummary = ({ invoice = {}, payReq, intl, showNotification, ...rest
) : (
<>
<Text color={getStatusColor()} fontWeight="normal">
{isExpired ? 'Expired ' : 'Expires '}
{isExpired ? (
<FormattedMessage {...messages.expired} />
) : (
<FormattedMessage {...messages.expires} />
)}{' '}
<FormattedRelative
updateInterval={1000}
value={decodedInvoice.timeExpireDateString}

0 comments on commit 5bc7822

Please sign in to comment.
You can’t perform that action at this time.