Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code100x/daily-code
/ handleCohortSelection
Function
handleCohortSelection
apps/web/components/Tracks.tsx:85–87 ·
view source on GitHub ↗
(cohort: number)
Source
from the content-addressed store, hash-verified
83
};
84
85
const handleCohortSelection = (cohort: number) => {
86
setSelectedCohort((prevCohort) => (prevCohort === cohort ? null : cohort));
87
};
88
89
useEffect(() => {
90
filterTracks();
Callers
1
Tracks
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected