diff --git a/client/src/app/pages/review/components/review-form/review-form.tsx b/client/src/app/pages/review/components/review-form/review-form.tsx index d7cb37c527..7b6100d4e2 100644 --- a/client/src/app/pages/review/components/review-form/review-form.tsx +++ b/client/src/app/pages/review/components/review-form/review-form.tsx @@ -135,7 +135,6 @@ export const ReviewForm: React.FC = ({ try { if (review) { - // This is an update action await updateReviewMutation.mutateAsync({ ...review, ...payload, @@ -145,10 +144,9 @@ export const ReviewForm: React.FC = ({ variant: "info", }); } else { - // This is a save action await createReviewMutation.mutateAsync(payload); pushNotification({ - title: "Review has been updated.", + title: "Review has been created.", variant: "info", }); }