Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@react-stately/data/src/useAsyncList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function reducer<T, C>(data: AsyncListState<T, C>, action: Action<T, C>): AsyncL
case 'filtering':
// We're already loading, and another load was triggered at the same time.
// We need to abort the previous load and start a new one.
data.abortController?.abort();
data.abortController?.abort('aborting current load and starting new one');
return {
...data,
filterText: action.filterText ?? data.filterText,
Expand Down