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

Function blink

packages/shared/src/features/boost/BoostManager.tsx:503–507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

501
502 doneIdRef.current = campaignId;
503 const blink = () => {
504 cancelAnimationFrame(frameRef.current ?? 0);
505 setBlinkingId(campaignId);
506 timeoutRef.current = setTimeout(() => setBlinkingId(undefined), 1200);
507 };
508 const { top, bottom } = row.getBoundingClientRect();
509
510 if (top >= 0 && bottom <= window.innerHeight) {

Callers 2

useBlinkLinkedRowFunction · 0.85
waitForStillFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected