MCPcopy Create free account
hub / github.com/GCWing/BitFun / refresh

Function refresh

src/web-ui/src/app/hooks/useNavHistory.ts:74–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 useEffect(() => {
73 mountedRef.current = true;
74 const refresh = () => { if (mountedRef.current) forceUpdate(n => n + 1); };
75 _listeners.add(refresh);
76
77 // Listen for external push events

Callers 2

useGitStateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected