From 78fcd4293d5728682cc0c2fb8c9b083e285f752d Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Fri, 22 Aug 2025 21:08:47 +0100 Subject: [PATCH] Fixed warnings --- src/components/Dashboard/common/ObjectSelect.jsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/Dashboard/common/ObjectSelect.jsx b/src/components/Dashboard/common/ObjectSelect.jsx index 59b3797..67b81b8 100644 --- a/src/components/Dashboard/common/ObjectSelect.jsx +++ b/src/components/Dashboard/common/ObjectSelect.jsx @@ -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) {