From fe83df163d74188fbb01013f1a04a26654ffc0ac Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Fri, 20 Sep 2024 15:04:44 +0100 Subject: [PATCH] refactor: content refinement --- .../components/Team/components/RemoveUserModal.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/RemoveUserModal.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/RemoveUserModal.tsx index 23f103a93a..5207198e8f 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/RemoveUserModal.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/RemoveUserModal.tsx @@ -23,7 +23,9 @@ export const RemoveUserModal = ({ } const response = await removeUser(initialValues.id).catch((err) => { if (err.message === "Unable to remove user") { - toast.error("Failed to remove new user, please try again"); + toast.error( + `Failed to remove ${initialValues.firstName} ${initialValues.lastName}, try again`, + ); } console.error(err); }); @@ -55,7 +57,7 @@ export const RemoveUserModal = ({
- {`The user will be moved to Archived Users and no longer have access to PlanX`} + {`They will be moved to Archived Users and no longer have access to PlanX`}