From 88c9ee8a34610d6c91b10b97feb56de445d1d3b0 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Wed, 20 Sep 2023 14:32:52 +0100 Subject: [PATCH] Changed copy for removing recommendations refs https://github.com/TryGhost/Product/issues/3899 --- .../site/recommendations/EditRecommendationModal.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/site/recommendations/EditRecommendationModal.tsx b/apps/admin-x-settings/src/components/settings/site/recommendations/EditRecommendationModal.tsx index 1ded87249b..fc7fcd1d82 100644 --- a/apps/admin-x-settings/src/components/settings/site/recommendations/EditRecommendationModal.tsx +++ b/apps/admin-x-settings/src/components/settings/site/recommendations/EditRecommendationModal.tsx @@ -48,29 +48,29 @@ const EditRecommendationModalConfirm: React.FC = ({ } let leftButtonProps = { - label: 'Remove recommendation', + label: 'Delete', link: true, color: 'red' as const, size: 'sm' as const, onClick: () => { modal.remove(); NiceModal.show(ConfirmationModal, { - title: 'Remove recommendation', + title: 'Delete recommendation', prompt: <>

Your recommendation {recommendation.title} will no longer be visible to your audience.

, - okLabel: 'Remove', + okLabel: 'Delete', onOk: async (deleteModal) => { try { await deleteRecommendation(recommendation); deleteModal?.remove(); showToast({ - message: 'Successfully removed the recommendation', + message: 'Successfully deleted the recommendation', type: 'success' }); } catch (_) { showToast({ - message: 'Failed to remove the recommendation. Please try again later.', + message: 'Failed to delete the recommendation. Please try again later.', type: 'error' }); }