Fixed warnings
This commit is contained in:
parent
871f260661
commit
78fcd4293d
@ -55,7 +55,7 @@ const ObjectSelect = ({
|
||||
return null
|
||||
}
|
||||
},
|
||||
[type, fetchObjectsByProperty, properties, filter]
|
||||
[type, fetchObjectsByProperty, properties, filter, masterFilter]
|
||||
)
|
||||
|
||||
// Convert the API response to AntD TreeSelect treeData
|
||||
@ -226,7 +226,14 @@ const ObjectSelect = ({
|
||||
handleFetchObjectsProperties()
|
||||
setInitialized(true)
|
||||
}
|
||||
}, [value, filter, properties, handleFetchObjectsProperties, initialized])
|
||||
}, [
|
||||
value,
|
||||
filter,
|
||||
properties,
|
||||
handleFetchObjectsProperties,
|
||||
initialized,
|
||||
token
|
||||
])
|
||||
|
||||
// --- Error UI ---
|
||||
if (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user