From 1bb2ca0a84dd07d1ef8244170ad8f2ca6da43a69 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 14 Nov 2024 16:01:28 -0600 Subject: [PATCH] Remove refetch interval entirely --- src/state/queries/messages/list-converations.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/state/queries/messages/list-converations.tsx b/src/state/queries/messages/list-converations.tsx index c54cabdc72..7eeea78690 100644 --- a/src/state/queries/messages/list-converations.tsx +++ b/src/state/queries/messages/list-converations.tsx @@ -47,9 +47,6 @@ export function useListConvosQuery({ }, initialPageParam: undefined as RQPageParam, getNextPageParam: lastPage => lastPage.cursor, - // refetch every 60 seconds since we can't get *all* info from the logs - // i.e. reading chats on another device won't update the unread count - refetchInterval: 60_000, }) }