fix undefined on mobile

This commit is contained in:
Tom
2023-05-26 21:09:45 +02:00
parent b1db4f1776
commit 24e1e9d9d8
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -285,7 +285,7 @@ const Pending = () => {
 
 
<span className="poster-address">
(u/{account.author.shortAddress})
(u/{account.author?.shortAddress})
</span>
&nbsp;
<span className="date-time" data-utc="data">{getDate(comment?.timestamp)}</span>
@@ -326,7 +326,7 @@ const Pending = () => {
Anonymous</span>}
&nbsp;
<span key={`mob-pa-${"pending"}`} className="poster-address-mobile">
(u/{account.author.shortAddress})&nbsp;
(u/{account.author?.shortAddress})&nbsp;
</span>
<br key={`mob-br1-${"pending"}`} />
{comment.title ? (