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

Function callback

packages/shared/src/components/feedback/FeedbackWidget.tsx:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 return undefined;
53 }
54 const callback = () => {
55 setIsCompact(
56 document.documentElement.scrollTop >= window.innerHeight / 2,
57 );
58 };
59 callback();
60 window.addEventListener('scroll', callback, { passive: true });
61 return () => window.removeEventListener('scroll', callback);

Callers 9

FeedbackWidgetFunction · 0.70
settleFunction · 0.50
mockRecoveryQueryFunction · 0.50
mockRecoveryMutationFunction · 0.50
useFeedSettingsEditFunction · 0.50
renderComponentFunction · 0.50
LinkForm.spec.tsxFile · 0.50

Calls

no outgoing calls

Tested by 3

mockRecoveryQueryFunction · 0.40
mockRecoveryMutationFunction · 0.40
renderComponentFunction · 0.40