diff --git a/frontend/src/pages/qna/QnADetailPage.js b/frontend/src/pages/qna/QnADetailPage.js index d5c8d23..b58cea4 100644 --- a/frontend/src/pages/qna/QnADetailPage.js +++ b/frontend/src/pages/qna/QnADetailPage.js @@ -207,7 +207,7 @@ function QnADetailPage() { // ── 댓글 등록 ──────────────────────────────────── const handleCommentSubmit = async () => { const text = commentText.trim(); - if (!text) return; + if (!text && !selectedImage) return; setIsSubmitting(true); try { let imageUrl = null; @@ -495,7 +495,7 @@ function QnADetailPage() {