Expand replies by default (quick fix for comment links not working)

This commit is contained in:
James Grugett 2022-10-12 17:49:04 -05:00
parent 18042cd4d1
commit 789bec2a4f

View File

@ -37,7 +37,7 @@ export function FeedCommentThread(props: {
}) { }) {
const { contract, threadComments, tips, parentComment } = props const { contract, threadComments, tips, parentComment } = props
const [replyTo, setReplyTo] = useState<ReplyTo>() const [replyTo, setReplyTo] = useState<ReplyTo>()
const [seeReplies, setSeeReplies] = useState(false) const [seeReplies, setSeeReplies] = useState(true)
const user = useUser() const user = useUser()
const onSubmitComment = useEvent(() => setReplyTo(undefined)) const onSubmitComment = useEvent(() => setReplyTo(undefined))