mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 08:27:44 +00:00
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">
|
||||
<Input
|
||||
size="md"
|
||||
register={register(`variables.${index}.key`, {
|
||||
{...register(`variables.${index}.key`, {
|
||||
required: 'Key field cannot be empty',
|
||||
})}
|
||||
label={index === 0 ? 'Key' : undefined}
|
||||
@ -30,7 +30,7 @@ const AddEnvironmentVariableRow = ({
|
||||
<Input
|
||||
size="md"
|
||||
label={index === 0 ? 'Value' : undefined}
|
||||
register={register(`variables.${index}.value`, {
|
||||
{...register(`variables.${index}.value`, {
|
||||
required: 'Value field cannot be empty',
|
||||
})}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user