added collabcam socket response

This commit is contained in:
2025-09-16 16:44:01 +05:30
parent efc46eaa6d
commit a517905dad
24 changed files with 582 additions and 677 deletions

View File

@@ -10,7 +10,7 @@ function ThreadInstances() {
const { projectId } = useParams();
const { userId } = getUserData();
const { versionStore, threadStore } = useSceneContext();
const { threads, setComments } = threadStore();
const { threads, setThreads } = threadStore();
const { selectedVersion } = versionStore();
useEffect(() => {
@@ -36,7 +36,7 @@ function ThreadInstances() {
: [],
}))
: [];
setComments(formattedThreads);
setThreads(formattedThreads);
})
.catch((err) => {
console.error("Failed to fetch threads:", err);