Skip to content

Commit

Permalink
refactor: content refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Sep 30, 2024
1 parent 3a3653e commit fe83df1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down Expand Up @@ -55,7 +57,7 @@ export const RemoveUserModal = ({
</Typography>
<br />
<Typography variant="body1" component="p" id="dialog-body">
{`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`}
</Typography>
</Box>
</DialogContent>
Expand Down

0 comments on commit fe83df1

Please sign in to comment.