We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7929fe commit 0b2cf70Copy full SHA for 0b2cf70
โsrc/pages/Recipient/Recipient.jsxโ
@@ -71,7 +71,7 @@ export default function Recipient() {
71
setOffset((prev) => prev + limit);
72
};
73
74
- if (!postData || messages.length === 0) return <div>Loading...</div>;
+ if (!postData || messages.length < 0) return <div>Loading...</div>;
75
76
return (
77
<>
@@ -85,7 +85,7 @@ export default function Recipient() {
85
}
86
>
87
<div className={styles['card-container']}>
88
- <Card recipientId={messages[0].recipientId} empty={true} />
+ <Card recipientId={id} empty={true} />
89
{messages.map((msg) => (
90
<Card
91
key={msg.id}
0 commit comments