Fixed warnings

This commit is contained in:
Tom Butcher 2025-08-22 21:08:47 +01:00
parent 871f260661
commit 78fcd4293d

View File

@ -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) {