From 905cee85b5b1cc9181fa176703d36246aa4a9472 Mon Sep 17 00:00:00 2001 From: Nam Chu Hoai Date: Mon, 12 Jun 2023 20:25:05 -0400 Subject: [PATCH] Increase message query limit to 30 --- src/features/messages/queries/useMessageQuery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/messages/queries/useMessageQuery.ts b/src/features/messages/queries/useMessageQuery.ts index 2fba395..b8e75f1 100644 --- a/src/features/messages/queries/useMessageQuery.ts +++ b/src/features/messages/queries/useMessageQuery.ts @@ -15,7 +15,7 @@ import { parseMessageQueryResult, parseMessageStubResult } from '../queries/pars const SEARCH_AUTO_REFRESH_DELAY = 15000; const MSG_AUTO_REFRESH_DELAY = 10000; -const LATEST_QUERY_LIMIT = 12; +const LATEST_QUERY_LIMIT = 30; const SEARCH_QUERY_LIMIT = 50; export function isValidSearchQuery(input: string, allowAddress?: boolean) {