diff options
author | 2019-04-08 17:41:59 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:54 +0300 | |
commit | fd44e344b1b97ad75623796cbe2066fa72d17e37 (patch) | |
tree | f4d26d210f7dda42c5ca05a7eb2bb352012fdd7b /vnext/src/components/Thread.js | |
parent | 0729e5c052dceca39e227b14536f2a26580a1bf9 (diff) |
Thread fixes
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r-- | vnext/src/components/Thread.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 3fa0ce10..1dd7d3cc 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -16,7 +16,7 @@ import { format, embedUrls } from '../utils/embed'; import { getMessages, comment, markReadTracker } from '../api'; -function Comment({ msg, visitor, active, setActive }) { +function Comment({ msg, visitor, active, setActive, postComment }) { const embedRef = useRef(); const msgRef = useRef(); useEffect(() => { @@ -142,7 +142,7 @@ export default function Thread(props) { { !loading ? replies.map((msg) => ( <li id={msg.rid} key={msg.rid} className="msg"> - <Comment msg={msg} visitor={props.visitor} active={active} setActive={setActive} /> + <Comment msg={msg} visitor={props.visitor} active={active} setActive={setActive} postComment={postComment} /> </li> )) : ( <> |