MCPcopy Create free account
hub / github.com/Zleap-AI/SAG / toggleProjectExpanded

Function toggleProjectExpanded

web/src/App.tsx:1065–1075  ·  view source on GitHub ↗
(projectId: string)

Source from the content-addressed store, hash-verified

1063 }
1064
1065 function toggleProjectExpanded(projectId: string) {
1066 setExpandedProjectIds((current) => {
1067 const next = new Set(current);
1068 if (next.has(projectId)) {
1069 next.delete(projectId);
1070 } else {
1071 next.add(projectId);
1072 }
1073 return next;
1074 });
1075 }
1076
1077 async function selectProjectSession(projectId: string, sessionId: string) {
1078 setWorkspaceView("chat");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected