diff --git a/src/features/loupe/LoupeDropdown.jsx b/src/features/loupe/LoupeDropdown.jsx index 451c501d..99e9659a 100644 --- a/src/features/loupe/LoupeDropdown.jsx +++ b/src/features/loupe/LoupeDropdown.jsx @@ -27,23 +27,6 @@ const LoupeDropdown = ({ image }) => { dispatch(setDeleteImagesAlertOpen(true)); }; - // NOTE: just testing image.comments CRUD operations - const handleCreateCommentItemClick = () => { - const comment = 'TEST COMMENT 4'; - dispatch(editComment('create', { comment, imageId: image._id })); - }; - - const handleUpdateCommentItemClick = () => { - const _id = '6582030e05256f8bff29ba43'; - const comment = 'UPDATED COMMENT 4'; - dispatch(editComment('update', { comment, id: _id, imageId: image._id })); - }; - - const handleDeleteCommentItemClick = () => { - const _id = '6582030e05256f8bff29ba43'; - dispatch(editComment('delete', { id: _id, imageId: image._id })); - }; - return ( @@ -55,15 +38,6 @@ const LoupeDropdown = ({ image }) => { Delete Image - - Create Comment - - - Update Comment - - - Delete Comment -