MCPcopy Create free account
hub / github.com/dailydotdev/apps / onComplete

Function onComplete

packages/shared/src/components/shell/shellNav.ts:297–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295 useEffect(() => {
296 recordShellRoute(window.location.pathname, historyKey(), documentArrival());
297 const onComplete = () =>
298 recordShellRoute(window.location.pathname, historyKey());
299 router.events.on('routeChangeComplete', onComplete);
300 return () => {
301 router.events.off('routeChangeComplete', onComplete);

Callers 5

onTurnOnFunction · 0.50
onSkipFunction · 0.50
useComposerSubmitFunction · 0.50
usePostToSquadFunction · 0.50

Calls 2

recordShellRouteFunction · 0.85
historyKeyFunction · 0.85

Tested by

no test coverage detected