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

Function pushDueAd

packages/shared/src/hooks/useFeed.ts:805–810  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

803 // card against it.
804 const pushDueAdAndWidgets = (): void => {
805 const pushDueAd = (): void => {
806 const adItem = getAd({ index: visualCellsSoFar });
807 if (adItem) {
808 pushAndAdvance(adItem);
809 }
810 };
811 pushDueAd();
812 while (
813 nextWidget < widgets.length &&

Callers 1

pushDueAdAndWidgetsFunction · 0.85

Calls 1

pushAndAdvanceFunction · 0.85

Tested by

no test coverage detected