feature/IO-3499-React-19 checkpoint

This commit is contained in:
Dave
2026-01-20 15:27:32 -05:00
parent a91bfea581
commit d7e3b52dc6
16 changed files with 493 additions and 179 deletions

View File

@@ -105,7 +105,7 @@ export function ChatPopupComponent({ chatVisible, selectedConversation, toggleCh
hasLoadedConversationsOnceRef.current = true;
getConversations({ offset: 0 }).catch((err) => {
getConversations({ variables: { offset: 0 } }).catch((err) => {
console.error(`Error fetching conversations: ${err?.message || ""}`, err);
});
}, [getConversations]);
@@ -115,7 +115,7 @@ export function ChatPopupComponent({ chatVisible, selectedConversation, toggleCh
if (called && typeof refetch === "function") {
await refetch({ variables: { offset: 0 } });
} else {
await getConversations({ offset: 0 });
await getConversations({ variables: { offset: 0 } });
}
} catch (err) {
console.error(`Error refreshing conversations: ${err?.message || ""}`, err);