@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.
@@ -903,7 +903,7 @@ debounceTimeout) {
903
903
  if (isItemsFunction) {
904
904
  fetchItems('');
905
905
  }
906
- }, [isItemsFunction]); // eslint-disable-line react-hooks/exhaustive-deps
906
+ }, [isItemsFunction, fetchItems]);
907
907
  return {
908
908
  items: normalizedItems,
909
909
  loading: isItemsFunction ? loading : false,