Skip to content

Commit

Permalink
fix: app name in transaction list
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jul 13, 2024
1 parent 4a35f16 commit ae0a1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/TransactionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function TransactionItem({ tx }: Props) {
<div className="overflow-hidden mr-3">
<div className="flex items-center gap-2 truncate dark:text-white">
<p className="text-lg md:text-xl font-semibold">
{type == "incoming" ? "Received" : "Sent"}
{app ? app.name : type == "incoming" ? "Received" : "Sent"}
</p>
<p className="text-sm md:text-base truncate text-muted-foreground">
{dayjs(tx.settled_at).fromNow()}
Expand Down

0 comments on commit ae0a1a9

Please sign in to comment.