mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-24 07:15:23 +02:00
Spelling and grammar corrections
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user