From 94c2f5e97882cb2195234f6cf4579c6e33c41688 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 12 Sep 2022 10:47:01 -0500 Subject: [PATCH] abovefoldAlgorithm: remove accidental console.log --- app/soapbox/features/timeline-insertion/abovefold.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/soapbox/features/timeline-insertion/abovefold.ts b/app/soapbox/features/timeline-insertion/abovefold.ts index 5ab3b4306..9ca2f5e28 100644 --- a/app/soapbox/features/timeline-insertion/abovefold.ts +++ b/app/soapbox/features/timeline-insertion/abovefold.ts @@ -32,8 +32,6 @@ const abovefoldAlgorithm: PickAlgorithm = (items, iteration, rawOpts) => { /** Index to insert the item. */ const insertIndex = Math.floor(rng() * (opts.range[1] - opts.range[0])) + opts.range[0]; - console.log({ page, iteration, pageIndex, insertIndex }); - if (pageIndex === insertIndex) { return items[page % items.length]; }