diff --git a/src/views/post/post.tsx b/src/views/post/post.tsx index 168f171d..a0a8429a 100644 --- a/src/views/post/post.tsx +++ b/src/views/post/post.tsx @@ -70,7 +70,7 @@ const PostPage = () => { post = comment; } - const { error, replyCount } = post || {}; + const { error } = post || {}; useEffect(() => { window.scrollTo(0, 0);