style: replace string concatenation with template literals

This commit is contained in:
2026-05-12 00:42:21 +02:00
parent fab2ba8835
commit 51e7a98d3f
2 changed files with 2 additions and 2 deletions
@@ -20,7 +20,7 @@ export default async function RecipientInfoPage({
<Card className="rounded-sm shadow-none">
<CardHeader>
<CardTitle>
{recipient.firstName + " " + recipient.lastName}
{`${recipient.firstName} ${recipient.lastName}`}
</CardTitle>
</CardHeader>
<CardContent>
+1 -1
View File
@@ -62,7 +62,7 @@ export default async function RecipientsPage(props: {
<tr key={recipient.id} className="border-b">
<td className="p-4">{recipient.username}</td>
<td className="p-4">
{recipient.firstName + " " + recipient.lastName}
{`${recipient.firstName} ${recipient.lastName}`}
</td>
<td className="p-4">{recipient.email}</td>
<td className="p-4">{recipient.phone}</td>