mirror of https://github.com/jetkvm/kvm.git
fix(ui): fix build type errors
This commit is contained in:
parent
d430cc5496
commit
dc7a8b319f
|
@ -70,6 +70,7 @@ export default function StaticIpv4Card() {
|
|||
// return true;
|
||||
// },
|
||||
})}
|
||||
// @ts-expect-error - dns is not a field in the form
|
||||
error={formState.errors.ipv4_static?.dns?.[index]?.message}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -47,6 +47,7 @@ export default function StaticIpv6Card() {
|
|||
return true;
|
||||
},
|
||||
})}
|
||||
// @ts-expect-error - address is not a field in the form
|
||||
error={formState.errors.ipv6_static?.address?.message}
|
||||
/>
|
||||
|
||||
|
@ -77,6 +78,7 @@ export default function StaticIpv6Card() {
|
|||
return true;
|
||||
},
|
||||
})}
|
||||
// @ts-expect-error - dns is not a field in the form
|
||||
error={formState.errors.ipv6_static?.dns?.[index]?.message}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue