fix(ui): updated error message on create dynamic secret

This commit is contained in:
Akhil Mohan
2024-03-27 13:54:03 +05:30
parent 0793e70c26
commit 8784f80fc1
2 changed files with 3 additions and 3 deletions

View File

@ -118,13 +118,13 @@ export const CreateDynamicSecretLease = ({
});
createNotification({
type: "success",
text: "Successfully created dynamic secret"
text: "Successfully leased dynamic secret"
});
} catch (error) {
console.log(error);
createNotification({
type: "error",
text: "Failed to create dynamic secret"
text: "Failed to lease dynamic secret"
});
}
};

View File

@ -116,7 +116,7 @@ export const EditDynamicSecretSqlProviderForm = ({
onClose();
createNotification({
type: "success",
text: "Successfully update dynamic secret"
text: "Successfully updated dynamic secret"
});
} catch (err) {
createNotification({