Update messaging

This commit is contained in:
Vladyslav Matsiiako
2023-02-22 17:21:44 -08:00
parent 0c72f50b5e
commit 2143db5eb5
@@ -86,7 +86,7 @@ export const OrgSettingsPage = () => {
} catch (error) { } catch (error) {
console.error(error); console.error(error);
createNotification({ createNotification({
text: 'Failed to remove user from org', text: 'Failed to remove user from the organization',
type: 'error' type: 'error'
}); });
} }
@@ -97,7 +97,7 @@ export const OrgSettingsPage = () => {
try { try {
await addUserToOrg.mutateAsync({ organizationId: currentOrg?._id, inviteeEmail: email }); await addUserToOrg.mutateAsync({ organizationId: currentOrg?._id, inviteeEmail: email });
createNotification({ createNotification({
text: 'Successfully invited user to org', text: 'Successfully invited user to the organization.',
type: 'success' type: 'success'
}); });
} catch (error) { } catch (error) {