MCPcopy Index your code
hub / github.com/vercel/hyper / effect

Function effect

lib/actions/term-groups.ts:168–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 dispatch({
167 type: TERM_GROUP_EXIT_ACTIVE,
168 effect() {
169 const {sessions, termGroups} = getState();
170 const {uid} = findBySession(termGroups, sessions.activeUid!)!;
171 dispatch(userExitTermGroup(uid));
172 }
173 });
174 };
175}

Callers

nothing calls this directly

Calls 3

findBySessionFunction · 0.85
dispatchFunction · 0.85
userExitTermGroupFunction · 0.85

Tested by

no test coverage detected