mirror of https://github.com/kortix-ai/suna.git
fix infinite loop err
This commit is contained in:
parent
f957d3dfdb
commit
977d44f04e
|
@ -113,7 +113,7 @@ function useProjectsAndThreads(user: User | null) {
|
|||
} finally {
|
||||
loadingThreadsPerProjectRef.current[projectId] = false
|
||||
}
|
||||
}, [threads])
|
||||
}, [])
|
||||
|
||||
const addProject = useCallback((newProject: Project) => {
|
||||
setProjects((prevProjects: Project[]) => [...prevProjects, newProject])
|
||||
|
|
Loading…
Reference in New Issue