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 return null
} }
}, },
[type, fetchObjectsByProperty, properties, filter] [type, fetchObjectsByProperty, properties, filter, masterFilter]
) )
// Convert the API response to AntD TreeSelect treeData // Convert the API response to AntD TreeSelect treeData
@ -226,7 +226,14 @@ const ObjectSelect = ({
handleFetchObjectsProperties() handleFetchObjectsProperties()
setInitialized(true) setInitialized(true)
} }
}, [value, filter, properties, handleFetchObjectsProperties, initialized]) }, [
value,
filter,
properties,
handleFetchObjectsProperties,
initialized,
token
])
// --- Error UI --- // --- Error UI ---
if (error) { if (error) {