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

@@ -65,7 +65,7 @@ export const ShowAdvancedMongo = ({ mongoId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to Update the resources");
toast.error("Error updating the resources");
});
};
return (

View File

@@ -71,7 +71,7 @@ export const ShowMongoResources = ({ mongoId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to Update the resources");
toast.error("Error updating the resources");
});
};
return (

View File

@@ -144,7 +144,7 @@ export const ShowBackupMongo = ({ mongoId }: Props) => {
})
.catch(() => {
toast.error(
"Error to Create the manual backup",
"Error creating the manual backup",
);
});
}}

View File

@@ -70,7 +70,7 @@ export const ShowMongoEnvironment = ({ mongoId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to add environment");
toast.error("Error adding environment");
});
};

View File

@@ -55,12 +55,12 @@ export const DeployMongo = ({ mongoId }: Props) => {
await deploy({
mongoId,
}).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");
});
}}
>

View File

@@ -55,7 +55,7 @@ export const ResetMongo = ({ mongoId, appName }: Props) => {
toast.success("Service Reloaded");
})
.catch(() => {
toast.error("Error to reload the service");
toast.error("Error reloading the service");
});
await refetch();
}}

View File

@@ -72,7 +72,7 @@ export const ShowExternalMongoCredentials = ({ mongoId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to save the external port");
toast.error("Error saving the external port");
});
};

View File

@@ -49,10 +49,10 @@ export const StopMongo = ({ mongoId }: Props) => {
await utils.mongo.one.invalidate({
mongoId,
});
toast.success("Application stopped succesfully");
toast.success("Application stopped successfully");
})
.catch(() => {
toast.error("Error to stop the Application");
toast.error("Error stopping the Application");
});
}}
>

View File

@@ -49,10 +49,10 @@ export const StartMongo = ({ mongoId }: Props) => {
await utils.mongo.one.invalidate({
mongoId,
});
toast.success("Database started succesfully");
toast.success("Database started successfully");
})
.catch(() => {
toast.error("Error to start the Database");
toast.error("Error starting the Database");
});
}}
>

View File

@@ -76,14 +76,14 @@ export const UpdateMongo = ({ mongoId }: Props) => {
description: formData.description || "",
})
.then(() => {
toast.success("Mongo updated succesfully");
toast.success("Mongo updated successfully");
utils.mongo.one.invalidate({
mongoId: mongoId,
});
setIsOpen(false);
})
.catch(() => {
toast.error("Error to update mongo database");
toast.error("Error updating mongo database");
})
.finally(() => {});
};