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

Function onComplete

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

Source from the content-addressed store, hash-verified

292 useEffect(() => {
293 recordShellRoute(window.location.pathname, historyKey(), documentArrival());
294 const onComplete = () =>
295 recordShellRoute(window.location.pathname, historyKey());
296 router.events.on('routeChangeComplete', onComplete);
297 return () => {
298 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