Skip to content

Commit

Permalink
chore: add comment metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jan 8, 2025
1 parent ad058d8 commit 3a97b32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pages/Transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export function Transaction() {
| {
payer_data?: { name?: string };
recipient_data?: { identifier?: string; description?: string };
comment?: string;
}
| undefined;

Expand Down Expand Up @@ -166,6 +167,12 @@ export function Transaction() {
"-"
}
/>
{metadata?.comment && (
<TransactionDetailRow
title="Comment"
content={metadata.comment}
/>
)}

{boostagram && <PodcastingInfo boost={boostagram} />}

Expand Down
1 change: 1 addition & 0 deletions pages/send/ConfirmPayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export function ConfirmPayment() {
identifier: recipientIdentifier,
description: recipientDescription,
},
comment,
},
});

Expand Down

0 comments on commit 3a97b32

Please sign in to comment.