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
@@ -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");
});
}}
>