forked from cerc-io/snowballtools-base
env var fix
This commit is contained in:
parent
41b9ce1096
commit
04b6a84440
@ -22,7 +22,7 @@ const AddEnvironmentVariableRow = ({
|
|||||||
<div className="flex py-4 self-stretch">
|
<div className="flex py-4 self-stretch">
|
||||||
<Input
|
<Input
|
||||||
size="md"
|
size="md"
|
||||||
register={register(`variables.${index}.key`, {
|
{...register(`variables.${index}.key`, {
|
||||||
required: 'Key field cannot be empty',
|
required: 'Key field cannot be empty',
|
||||||
})}
|
})}
|
||||||
label={index === 0 ? 'Key' : undefined}
|
label={index === 0 ? 'Key' : undefined}
|
||||||
@ -30,7 +30,7 @@ const AddEnvironmentVariableRow = ({
|
|||||||
<Input
|
<Input
|
||||||
size="md"
|
size="md"
|
||||||
label={index === 0 ? 'Value' : undefined}
|
label={index === 0 ? 'Value' : undefined}
|
||||||
register={register(`variables.${index}.value`, {
|
{...register(`variables.${index}.value`, {
|
||||||
required: 'Value field cannot be empty',
|
required: 'Value field cannot be empty',
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user