Skip to content

Commit

Permalink
- received time row@encapsulate
Browse files Browse the repository at this point in the history
  • Loading branch information
gshohat committed May 16, 2021
1 parent 953cf2d commit 64f1197
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions source/features/transactions/components/TransactionInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,13 @@ const TransactionInfo = (props: ITransactionInfoProps) => {
)}

{/* ===== RECEIVED TIME ===== */}

<div className={styles.row}>
<div className={styles.label}>
{translate('transaction.receivedTime')}
</div>
<div className={styles.value}>
&gt; {dayjs().utc().to(includedAtUtc)} (
{includedAtUtc.format('YYYY-MM-DD HH:mm:ss')} UTC)
</div>
</div>
<TransactionInfoRow
label={translate('transaction.receivedTime')}
value={`> ${dayjs().utc().to(includedAtUtc)}
(${includedAtUtc.format('YYYY-MM-DD HH:mm:ss')} UTC)`}
/>

{/* ===== INCLUDED IN ===== */}

{props.showDetails && (
<div className={styles.row}>
<div className={styles.label}>
Expand Down

0 comments on commit 64f1197

Please sign in to comment.