mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-05 19:52:15 +00:00
Spelling and grammar corrections
This commit is contained in:
@@ -89,7 +89,7 @@ export const AddDestination = () => {
|
||||
await utils.destination.all.invalidate();
|
||||
})
|
||||
.catch(() => {
|
||||
toast.error("Error to create the Destination");
|
||||
toast.error("Error creating the Destination");
|
||||
});
|
||||
};
|
||||
return (
|
||||
@@ -306,7 +306,7 @@ export const AddDestination = () => {
|
||||
toast.success("Connection Success");
|
||||
})
|
||||
.catch((e) => {
|
||||
toast.error("Error to connect the provider", {
|
||||
toast.error("Error connecting the provider", {
|
||||
description: e.message,
|
||||
});
|
||||
});
|
||||
@@ -334,7 +334,7 @@ export const AddDestination = () => {
|
||||
toast.success("Connection Success");
|
||||
})
|
||||
.catch(() => {
|
||||
toast.error("Error to connect the provider");
|
||||
toast.error("Error connecting the provider");
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -45,10 +45,10 @@ export const DeleteDestination = ({ destinationId }: Props) => {
|
||||
})
|
||||
.then(() => {
|
||||
utils.destination.all.invalidate();
|
||||
toast.success("Destination delete succesfully");
|
||||
toast.success("Destination deleted successfully");
|
||||
})
|
||||
.catch(() => {
|
||||
toast.error("Error to delete destination");
|
||||
toast.error("Error deleting Destination");
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -113,7 +113,7 @@ export const UpdateDestination = ({ destinationId }: Props) => {
|
||||
setIsOpen(false);
|
||||
})
|
||||
.catch(() => {
|
||||
toast.error("Error to update the Destination");
|
||||
toast.error("Error updating the Destination");
|
||||
});
|
||||
};
|
||||
return (
|
||||
@@ -335,7 +335,7 @@ export const UpdateDestination = ({ destinationId }: Props) => {
|
||||
toast.success("Connection Success");
|
||||
})
|
||||
.catch(() => {
|
||||
toast.error("Error to connect the provider");
|
||||
toast.error("Error connecting the provider");
|
||||
});
|
||||
}}
|
||||
>
|
||||
@@ -361,7 +361,7 @@ export const UpdateDestination = ({ destinationId }: Props) => {
|
||||
toast.success("Connection Success");
|
||||
})
|
||||
.catch(() => {
|
||||
toast.error("Error to connect the provider");
|
||||
toast.error("Error connecting the provider");
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user