mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
improvement: improve field error message
This commit is contained in:
@@ -52,7 +52,9 @@ const PasteEnvForm = ({ onParsedEnv }: Pick<Props, "onParsedEnv">) => {
|
||||
}
|
||||
|
||||
if (!Object.keys(env).length) {
|
||||
setError("value", { message: "No secrets found." });
|
||||
setError("value", {
|
||||
message: "No secrets found. Please make sure the provided format is valid."
|
||||
});
|
||||
setFocus("value");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user