mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #~: Remove unused lines (#2229)
(cherry picked from commit f58b58919c4d7f225b90b68426799bd46c0dc42d)
This commit is contained in:
parent
17dfff2f21
commit
1d33ca8fd5
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user