Fix wording for group project addition/removal

This commit is contained in:
Tuan Dang
2024-04-22 12:01:29 -07:00
parent 0a124093d6
commit 8c566a5ff7

View File

@@ -65,14 +65,14 @@ export const OrgGroupMembersModal = ({ popUp, handlePopUpToggle }: Props) => {
}
createNotification({
text: `Successfully ${assign ? "assigned" : "removed "} user ${
text: `Successfully ${assign ? "assigned" : "removed"} user ${
assign ? "to" : "from"
} group`,
type: "success"
});
} catch (err) {
createNotification({
text: `Failed to ${assign ? "assigned" : "remove"} user ${assign ? "to" : "from"} group`,
text: `Failed to ${assign ? "assign" : "remove"} user ${assign ? "to" : "from"} group`,
type: "error"
});
}