@algorithm-shift/design-system 1.2.989 → 1.2.990

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.
package/dist/index.mjs CHANGED
@@ -1964,10 +1964,10 @@ function useLazyDropdown(config) {
1964
1964
  useEffect14(() => {
1965
1965
  if (config.initialData?.length) {
1966
1966
  allDataRef.current = config.initialData;
1967
- loadPage(1, "");
1968
1967
  }
1969
1968
  }, [config.initialData]);
1970
1969
  useEffect14(() => {
1970
+ if (config.fetchOnMount) loadPage(1, "");
1971
1971
  return () => {
1972
1972
  if (debounceTimer.current) clearTimeout(debounceTimer.current);
1973
1973
  };