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
@@ -65,7 +65,7 @@ export const ShowAdvancedMariadb = ({ mariadbId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to Update the resources");
toast.error("Error updating the resources");
});
};
return (
@@ -71,7 +71,7 @@ export const ShowMariadbResources = ({ mariadbId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to Update the resources");
toast.error("Error updating the resources");
});
};
return (
@@ -144,7 +144,7 @@ export const ShowBackupMariadb = ({ mariadbId }: Props) => {
})
.catch(() => {
toast.error(
"Error to Create the manual backup",
"Error creating the manual backup",
);
});
}}
@@ -70,7 +70,7 @@ export const ShowMariadbEnvironment = ({ mariadbId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to add environment");
toast.error("Error adding environment");
});
};
@@ -55,12 +55,12 @@ export const DeployMariadb = ({ mariadbId }: Props) => {
await deploy({
mariadbId,
}).catch(() => {
toast.error("Error to deploy Database");
toast.error("Error deploying Database");
});
await refetch();
})
.catch((e) => {
toast.error(e.message || "Error to deploy Database");
toast.error(e.message || "Error deploying Database");
});
}}
>
@@ -55,7 +55,7 @@ export const ResetMariadb = ({ mariadbId, appName }: Props) => {
toast.success("Service Reloaded");
})
.catch(() => {
toast.error("Error to reload the service");
toast.error("Error reloading the service");
});
await refetch();
}}
@@ -72,7 +72,7 @@ export const ShowExternalMariadbCredentials = ({ mariadbId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to save the external port");
toast.error("Error saving the external port");
});
};
@@ -49,10 +49,10 @@ export const StopMariadb = ({ mariadbId }: Props) => {
await utils.mariadb.one.invalidate({
mariadbId,
});
toast.success("Application stopped succesfully");
toast.success("Application stopped successfully");
})
.catch(() => {
toast.error("Error to stop the Application");
toast.error("Error stopping the Application");
});
}}
>
@@ -49,10 +49,10 @@ export const StartMariadb = ({ mariadbId }: Props) => {
await utils.mariadb.one.invalidate({
mariadbId,
});
toast.success("Database started succesfully");
toast.success("Database started successfully");
})
.catch(() => {
toast.error("Error to start the Database");
toast.error("Error starting the Database");
});
}}
>
@@ -75,13 +75,13 @@ export const UpdateMariadb = ({ mariadbId }: Props) => {
description: formData.description || "",
})
.then(() => {
toast.success("MariaDB updated succesfully");
toast.success("MariaDB updated successfully");
utils.mariadb.one.invalidate({
mariadbId: mariadbId,
});
})
.catch(() => {
toast.error("Error to update the Mariadb");
toast.error("Error updating the Mariadb");
})
.finally(() => {});
};