fallback to unformatted recipient phone number (i.e. with TINDER sender)
This commit is contained in:
parent
c0016a55f7
commit
d3035ad268
@ -35,7 +35,7 @@ export default function ConversationsList() {
|
|||||||
<Link href={Routes.ConversationPage({ recipient })}>
|
<Link href={Routes.ConversationPage({ recipient })}>
|
||||||
<a className="flex flex-col">
|
<a className="flex flex-col">
|
||||||
<div className="flex flex-row justify-between">
|
<div className="flex flex-row justify-between">
|
||||||
<span className="font-medium">{formattedPhoneNumber}</span>
|
<span className="font-medium">{formattedPhoneNumber ?? recipient}</span>
|
||||||
<div className="text-gray-700 flex flex-row gap-x-1">
|
<div className="text-gray-700 flex flex-row gap-x-1">
|
||||||
{formatRelativeDate(lastMessage.sentAt)}
|
{formatRelativeDate(lastMessage.sentAt)}
|
||||||
<IoChevronForward className="w-4 h-4 my-auto" />
|
<IoChevronForward className="w-4 h-4 my-auto" />
|
||||||
|
Loading…
Reference in New Issue
Block a user