Spelling and grammar corrections

This commit is contained in:
Dom
2024-12-29 22:34:57 +10:00
parent ba45b27608
commit 2af8d6f565
208 changed files with 397 additions and 397 deletions

View File

@@ -110,7 +110,7 @@ export const AddUserPermissions = ({ userId }: Props) => {
refetch();
})
.catch(() => {
toast.error("Error to update the permissions");
toast.error("Error updating the permissions");
});
};
return (

View File

@@ -61,7 +61,7 @@ export const AddUser = () => {
await utils.user.all.invalidate();
})
.catch(() => {
toast.error("Error to create the invitation");
toast.error("Error creating the invitation");
});
};
return (

View File

@@ -48,10 +48,10 @@ export const DeleteUser = ({ authId }: Props) => {
})
.then(async () => {
utils.user.all.invalidate();
toast.success("User delete succesfully");
toast.success("User deleted successfully");
})
.catch(() => {
toast.error("Error to delete the user");
toast.error("Error deleting User");
});
}}
>