aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-06 15:23:18 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-06 15:23:18 -0500
commit72fe19987957e78cbd1d97ccfd8b87d85fea5c88 (patch)
treeda34dcde025697e8a4b13aad17d9291ee454d328 /src/app
parent570aa713b1b2becf7c06c89610c75d2cb119b532 (diff)
Add currency
Diffstat (limited to 'src/app')
-rw-r--r--src/app/groups/[groupId]/page.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/groups/[groupId]/page.tsx b/src/app/groups/[groupId]/page.tsx
index b7dc93f..83fc3ef 100644
--- a/src/app/groups/[groupId]/page.tsx
+++ b/src/app/groups/[groupId]/page.tsx
@@ -86,8 +86,8 @@ export default async function GroupPage({
</Badge>
))}
</TableCell>
- <TableCell className="text-right tabular-nums">
- $&nbsp;{expense.amount.toFixed(2)}
+ <TableCell className="text-right tabular-nums whitespace-nowrap">
+ {group.currency} {expense.amount.toFixed(2)}
</TableCell>
<TableCell>
<Button