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