diff --git a/src/components/FunctionalArea/Modal/AddCommentModal/AddCommentModal.component.tsx b/src/components/FunctionalArea/Modal/AddCommentModal/AddCommentModal.component.tsx index 9c4fde54b754948a099b53bbaf8626b78f2bbb2c..d8469a9461e0c85e6735801885b53e129a5851f6 100644 --- a/src/components/FunctionalArea/Modal/AddCommentModal/AddCommentModal.component.tsx +++ b/src/components/FunctionalArea/Modal/AddCommentModal/AddCommentModal.component.tsx @@ -8,6 +8,7 @@ import { useAppSelector } from '@/redux/hooks/useAppSelector'; import { lastRightClickSelector } from '@/redux/models/models.selectors'; import { closeModal } from '@/redux/modal/modal.slice'; import { getComments } from '@/redux/comment/thunks/getComments'; +import { showToast } from '@/utils/showToast'; export const AddCommentModal: React.FC = () => { const dispatch = useAppDispatch(); @@ -30,6 +31,11 @@ export const AddCommentModal: React.FC = () => { await dispatch(addComment(data)); dispatch(closeModal()); dispatch(getComments()); + showToast({ + type: 'success', + message: + 'Thank you for your feedback, your comment has been placed on the map. To see all comments, use the “show comments†button in the upper right', + }); }; return (