diff --git a/src/sections/chat/ChatSidebarSection.tsx b/src/sections/chat/ChatSidebarSection.tsx index e0a58bddcf..dec5f8e6cf 100644 --- a/src/sections/chat/ChatSidebarSection.tsx +++ b/src/sections/chat/ChatSidebarSection.tsx @@ -110,6 +110,7 @@ useClickAway(containerRef, () => closeQRDropdown()) setReceivedIntents(intents); setLoadingRequests(false); } + setLoadingRequests(false); } const fetchIntentApi = async (): Promise => { const intents = await fetchIntent(connectedUser); @@ -117,6 +118,7 @@ useClickAway(containerRef, () => closeQRDropdown()) setReceivedIntents(intents); setLoadingRequests(false); } + setLoadingRequests(false); return intents; };