From 21cfec338619ba88f6ad516292a58e3b6cf22bd9 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 12 Dec 2022 08:47:11 +0800 Subject: [PATCH] Remove console logs --- src/pages/home.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/home.jsx b/src/pages/home.jsx index 6169a078..b91616fe 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -76,14 +76,13 @@ export default ({ hidden }) => { if (document.hidden) { const timestamp = Date.now(); store.session.set('lastHidden', timestamp); - console.log('hidden', timestamp); } else { const timestamp = Date.now(); const lastHidden = store.session.get('lastHidden'); const diff = timestamp - lastHidden; const diffMins = Math.round(diff / 1000 / 60); - console.log('visible', { timestamp, diff, diffMins }); if (diffMins > 1) { + console.log('visible', { lastHidden, diffMins }); setTimeout(() => { loadStatuses(true); states.homeNew = [];