correcion de tipado en equipament_list.tsx
This commit is contained in:
@@ -130,7 +130,7 @@ export function EquipmentList() {
|
||||
<input
|
||||
type="hidden"
|
||||
{...register(`equipmentList.${index}.machine`)}
|
||||
defaultValue={field.machine}
|
||||
defaultValue={field.machine ?? ''}
|
||||
/>
|
||||
{field.machine}
|
||||
</TableCell>
|
||||
@@ -138,7 +138,7 @@ export function EquipmentList() {
|
||||
<input
|
||||
type="hidden"
|
||||
{...register(`equipmentList.${index}.quantity`)}
|
||||
defaultValue={field.quantity}
|
||||
defaultValue={field.quantity ?? ''}
|
||||
/>
|
||||
{field.quantity}
|
||||
</TableCell>
|
||||
|
||||
Reference in New Issue
Block a user