From fd8b3ea2e9d16aeb81d08e73a2d7d6394568c555 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Thu, 21 Nov 2024 11:30:15 +0100 Subject: [PATCH] fix(post): error was displayed incorrectly --- src/views/post/post.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/post/post.tsx b/src/views/post/post.tsx index 99cdb810..8b50d6d4 100644 --- a/src/views/post/post.tsx +++ b/src/views/post/post.tsx @@ -105,7 +105,7 @@ const PostPage = () => { )} {/* TODO: remove this replyCount error once api supports scrolling replies pages */} {replyCount > 60 && Error: this thread has too many replies, some of them cannot be displayed right now.} - {error && Error: {error.message}} + {error && Error: {error?.message || error}} {isInDescriptionView ? (