abovefoldAlgorithm: remove accidental console.log

environments/review-feed-inser-nlk29z/deployments/947
Alex Gleason 2 years ago
parent 2681b32f7d
commit 94c2f5e978
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -32,8 +32,6 @@ const abovefoldAlgorithm: PickAlgorithm = (items, iteration, rawOpts) => {
/** Index to insert the item. */ /** Index to insert the item. */
const insertIndex = Math.floor(rng() * (opts.range[1] - opts.range[0])) + opts.range[0]; const insertIndex = Math.floor(rng() * (opts.range[1] - opts.range[0])) + opts.range[0];
console.log({ page, iteration, pageIndex, insertIndex });
if (pageIndex === insertIndex) { if (pageIndex === insertIndex) {
return items[page % items.length]; return items[page % items.length];
} }

Loading…
Cancel
Save