Global Search: Fix infinite spinner and missing results (#2460)
This commit is contained in:
parent
59823a05f9
commit
213f788a8f
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user