From ae76d6e4ea64c3047692a8d7e4ca15b55d06bff8 Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 22 Oct 2025 23:55:59 +0200 Subject: [PATCH] chore(reading): remove noisy debounce log messages Removed 'Debouncing save for 3000ms' logs that spam console on every scroll event. Keep only the actual save execution logs. --- src/hooks/useReadingPosition.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hooks/useReadingPosition.ts b/src/hooks/useReadingPosition.ts index b9f6ea7b..d97ce509 100644 --- a/src/hooks/useReadingPosition.ts +++ b/src/hooks/useReadingPosition.ts @@ -71,7 +71,6 @@ export const useReadingPosition = ({ } const DEBOUNCE_MS = 3000 // Save max every 3 seconds - console.log(`[reading-position] [${new Date().toISOString()}] ⏱️ Debouncing save for ${DEBOUNCE_MS}ms (pos: ${Math.round(currentPosition * 100)}%)`) saveTimerRef.current = setTimeout(() => { console.log(`[reading-position] [${new Date().toISOString()}] 💾 Auto-save at ${Math.round(currentPosition * 100)}%`) lastSavedPosition.current = currentPosition