1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

M #~: Remove unused lines (#2229)

This commit is contained in:
Sergio Betanzos 2022-07-13 19:08:52 +02:00 committed by GitHub
parent d5813d6a96
commit f58b58919c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,12 +172,6 @@ const FieldComponent = memo(({ id, cy, dependOf, ...attributes }) => {
defaultValue: Array.isArray(dependOf) ? [] : undefined,
})
/* const valueOfDependField = useMemo(() => {
if (!dependOf) return null
return watch(nameOfDependField)
}, [dependOf, watch, nameOfDependField]) */
const { name, type, htmlType, grid, ...fieldProps } = Object.entries(
attributes
).reduce((field, attribute) => {