From d560210395708e404501a17573ea4cd6c3daee0f Mon Sep 17 00:00:00 2001 From: gabriellsh Date: Wed, 31 Aug 2022 10:40:51 -0300 Subject: [PATCH] fix cache --- apps/meteor/client/sidebar/search/SearchList.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/meteor/client/sidebar/search/SearchList.tsx b/apps/meteor/client/sidebar/search/SearchList.tsx index 9cb6191348ba..52f2dd7988e4 100644 --- a/apps/meteor/client/sidebar/search/SearchList.tsx +++ b/apps/meteor/client/sidebar/search/SearchList.tsx @@ -140,6 +140,7 @@ const useSearchItems = (filterText: string): UseQueryResult<(ISubscription & IRo { staleTime: 60_000, keepPreviousData: true, + placeholderData: localRooms, }, ); };