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

This commit is contained in:
Akhil Mohan
2024-03-27 14:25:56 +05:30
parent 0793e70c26
commit 8784f80fc1
2 changed files with 3 additions and 3 deletions
@@ -118,13 +118,13 @@ export const CreateDynamicSecretLease = ({
}); });
createNotification({ createNotification({
type: "success", type: "success",
text: "Successfully created dynamic secret" text: "Successfully leased dynamic secret"
}); });
} catch (error) { } catch (error) {
console.log(error); console.log(error);
createNotification({ createNotification({
type: "error", type: "error",
text: "Failed to create dynamic secret" text: "Failed to lease dynamic secret"
}); });
} }
}; };
@@ -116,7 +116,7 @@ export const EditDynamicSecretSqlProviderForm = ({
onClose(); onClose();
createNotification({ createNotification({
type: "success", type: "success",
text: "Successfully update dynamic secret" text: "Successfully updated dynamic secret"
}); });
} catch (err) { } catch (err) {
createNotification({ createNotification({