Skip to content

Commit 4bc7be8

Browse files
committed
remove console log
1 parent 4d6aa47 commit 4bc7be8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/EditComment.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CommentProps } from '@/types/props'
33
import { EditCommentContext } from '@/context/EditCommentContext'
44
import Modal from './Modal'
55

6-
const EditComment = ({ comment, commentID, isReply, _id }: CommentProps) => {
6+
const EditComment = ({ comment, commentID, _id }: CommentProps) => {
77

88
const [commenting, setCommenting] = React.useState(false)
99
const [localComment, setLocalComment] = React.useState(comment)
@@ -36,8 +36,6 @@ const EditComment = ({ comment, commentID, isReply, _id }: CommentProps) => {
3636
return
3737
}
3838

39-
console.log(commentID, isReply)
40-
4139
setEditCommentValues({
4240
...editCommentValues,
4341
editComment: false,

0 commit comments

Comments
 (0)