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">
|
<Card className="rounded-sm shadow-none">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>
|
<CardTitle>
|
||||||
{recipient.firstName + " " + recipient.lastName}
|
{`${recipient.firstName} ${recipient.lastName}`}
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export default async function RecipientsPage(props: {
|
|||||||
<tr key={recipient.id} className="border-b">
|
<tr key={recipient.id} className="border-b">
|
||||||
<td className="p-4">{recipient.username}</td>
|
<td className="p-4">{recipient.username}</td>
|
||||||
<td className="p-4">
|
<td className="p-4">
|
||||||
{recipient.firstName + " " + recipient.lastName}
|
{`${recipient.firstName} ${recipient.lastName}`}
|
||||||
</td>
|
</td>
|
||||||
<td className="p-4">{recipient.email}</td>
|
<td className="p-4">{recipient.email}</td>
|
||||||
<td className="p-4">{recipient.phone}</td>
|
<td className="p-4">{recipient.phone}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user