update project add user text typo

This commit is contained in:
Maidul Islam
2024-01-16 16:28:14 -05:00
committed by Akhil Mohan
parent 5373cb6afb
commit fb79e9e6fb

View File

@@ -121,13 +121,13 @@ export const MemberListTab = () => {
members: [{ orgMembershipId, userPublicKey: orgUser.user.publicKey }]
});
createNotification({
text: "Successfully invited user to the organization.",
text: "Successfully added user to the project",
type: "success"
});
} catch (error) {
console.error(error);
createNotification({
text: "Failed to invite user to org",
text: "Failed to add user to project",
type: "error"
});
}
@@ -142,13 +142,13 @@ export const MemberListTab = () => {
try {
await removeUserFromWorkspace({ workspaceId, membershipId });
createNotification({
text: "Successfully removed user from workspace",
text: "Successfully removed user from project",
type: "success"
});
} catch (error) {
console.error(error);
createNotification({
text: "Failed to remove user from the organization",
text: "Failed to remove user from the project",
type: "error"
});
}