Global Search: Fix infinite spinner and missing results (#2460)

This commit is contained in:
Alexander Zinchuk 2023-01-31 18:22:12 +01:00
parent 59823a05f9
commit 213f788a8f

View File

@ -54,7 +54,7 @@ type StateProps = {
const MIN_QUERY_LENGTH_FOR_GLOBAL_SEARCH = 4;
const LESS_LIST_ITEMS_AMOUNT = 5;
const runThrottled = throttle((cb) => cb(), 500, true);
const runThrottled = throttle((cb) => cb(), 500, false);
const ChatResults: FC<OwnProps & StateProps> = ({
searchQuery, searchDate, dateSearchQuery, currentUserId,