mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(Thread): fix undefined
This commit is contained in:
@@ -1108,7 +1108,7 @@ const Thread = () => {
|
|||||||
<VerifiedAuthor commentCid={comment.cid}>
|
<VerifiedAuthor commentCid={comment.cid}>
|
||||||
{({ shortAuthorAddress, authorAddressChanged }) => (
|
{({ shortAuthorAddress, authorAddressChanged }) => (
|
||||||
<>
|
<>
|
||||||
<span className='author-address-hidden'>{comment.author.shortAddress}</span>
|
<span className='author-address-hidden'>{comment.author?.shortAddress}</span>
|
||||||
<span className={`author-address-visible ${authorAddressChanged ? 'authorAddressChanged' : ''}`}>{shortAuthorAddress}</span>
|
<span className={`author-address-visible ${authorAddressChanged ? 'authorAddressChanged' : ''}`}>{shortAuthorAddress}</span>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
@@ -2099,7 +2099,7 @@ const Thread = () => {
|
|||||||
<VerifiedAuthor commentCid={comment.cid}>
|
<VerifiedAuthor commentCid={comment.cid}>
|
||||||
{({ shortAuthorAddress, authorAddressChanged }) => (
|
{({ shortAuthorAddress, authorAddressChanged }) => (
|
||||||
<>
|
<>
|
||||||
<span className='author-address-hidden'>{comment.author.shortAddress}</span>
|
<span className='author-address-hidden'>{comment.author?.shortAddress}</span>
|
||||||
<span className={`author-address-visible ${authorAddressChanged ? 'authorAddressChanged' : ''}`}>{shortAuthorAddress}</span>
|
<span className={`author-address-visible ${authorAddressChanged ? 'authorAddressChanged' : ''}`}>{shortAuthorAddress}</span>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user