diff --git a/components/reply.js b/components/reply.js index e4a646e2..bbc98eb8 100644 --- a/components/reply.js +++ b/components/reply.js @@ -142,7 +142,7 @@ export default forwardRef(function Reply ({ item, onSuccess, replyOpen, children } } else { e.preventDefault() - onQuoteReply({ selectionOnly: true }) + onQuoteReply?.({ selectionOnly: true }) setReply(true) } }}