@entur/dropdown 5.0.1 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -893,7 +893,7 @@ debounceTimeout) {
893
893
  if (isItemsFunction) {
894
894
  fetchItems('');
895
895
  }
896
- }, [isItemsFunction]); // eslint-disable-line react-hooks/exhaustive-deps
896
+ }, [isItemsFunction, fetchItems]);
897
897
  return {
898
898
  items: normalizedItems,
899
899
  loading: isItemsFunction ? loading : false,