You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the pages/integrations.tsx page, the getIntegrations() function is called repeatedly, most likely due to the integration data using state, hence it is re-fetching the data constantly as the state refreshes.
Here's the problematic code:
const[integrations,setIntegrations]=useState([]);functiongetIntegrations(){fetch('/api/integrations').then((response)=>response.json()).then((data)=>setIntegrations(data));}// TODO: Stop this function from running repeatedlygetIntegrations()