diff --git a/src/views/note/thread-post.tsx b/src/views/note/thread-post.tsx index c9581a763..b31e95af9 100644 --- a/src/views/note/thread-post.tsx +++ b/src/views/note/thread-post.tsx @@ -9,7 +9,7 @@ export type ThreadItemProps = { }; export const ThreadPost = ({ post, initShowReplies }: ThreadItemProps) => { - const [showReplies, setShowReplies] = useState(!!initShowReplies); + const [showReplies, setShowReplies] = useState(initShowReplies ?? post.replies.length === 1); const toggle = () => setShowReplies((v) => !v); const numberOfReplies = countReplies(post);