fix: Update useEffect dependency in DataManager to include entityKey for accurate data fetching
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 17m43s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 17m43s
This commit is contained in:
@@ -39,7 +39,7 @@ function DataManager({ entityName, entityKey, placeholder }) {
|
||||
|
||||
useEffect(() => {
|
||||
fetchItems();
|
||||
}, []);
|
||||
}, [entityKey]);
|
||||
|
||||
const fetchItems = async () => {
|
||||
setLoading(true);
|
||||
|
||||
Reference in New Issue
Block a user