From 0637af15ad7677efba54a679c57d0dbaee7c6c14 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 20 Jul 2023 22:49:32 +0800 Subject: [PATCH] performance --- themes/heo/components/Catalog.js | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/heo/components/Catalog.js b/themes/heo/components/Catalog.js index d1ce700d..81ea8d1a 100644 --- a/themes/heo/components/Catalog.js +++ b/themes/heo/components/Catalog.js @@ -28,7 +28,6 @@ const Catalog = ({ toc }) => { const [activeSection, setActiveSection] = useState(null) const actionSectionScrollSpy = useCallback(throttle(() => { - console.log('目录') const sections = document.getElementsByClassName('notion-h') let prevBBox = null let currentSectionId = activeSection