From fdebe14cdb8134ece9d5161ce5c572862c4aec89 Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Tue, 26 Sep 2023 21:06:36 +0200 Subject: [PATCH] fix(Thread): fix undefined --- src/components/views/Thread.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/Thread.jsx b/src/components/views/Thread.jsx index cd3a3524..9ff2d7ee 100755 --- a/src/components/views/Thread.jsx +++ b/src/components/views/Thread.jsx @@ -1108,7 +1108,7 @@ const Thread = () => { {({ shortAuthorAddress, authorAddressChanged }) => ( <> - {comment.author.shortAddress} + {comment.author?.shortAddress} {shortAuthorAddress} )} @@ -2099,7 +2099,7 @@ const Thread = () => { {({ shortAuthorAddress, authorAddressChanged }) => ( <> - {comment.author.shortAddress} + {comment.author?.shortAddress} {shortAuthorAddress} )}