style: replace string concatenation with template literals
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user