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

Function callback

packages/shared/src/contexts/ProgressiveEnhancementContext.tsx:37–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36 useEffect(() => {
37 const callback = () => {
38 setWindowLoaded(true);
39 setNativeShareSupport('share' in globalThis?.navigator);
40 };
41
42 if ('windowLoaded' in window) {
43 requestIdleCallback(callback);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected