From 3084c006873f4dcd11cebcf7dd45fdb1cb311abc Mon Sep 17 00:00:00 2001 From: Ian Bolton Date: Tue, 12 Dec 2023 10:14:34 -0500 Subject: [PATCH] :bug: Update create review text (#1611) Resolves https://issues.redhat.com/browse/MTA-1858 Signed-off-by: ibolton336 --- .../app/pages/review/components/review-form/review-form.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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", }); }