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

Function callback

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

Source from the content-addressed store, hash-verified

102 return undefined;
103 }
104 const callback = () => {
105 setIsCompact(
106 document.documentElement.scrollTop >= window.innerHeight / 2,
107 );
108 };
109 callback();
110 window.addEventListener('scroll', callback, { passive: true });
111 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