diff --git a/themes/medium/components/Catalog.js b/themes/medium/components/Catalog.js index a92123f1..af4b1156 100644 --- a/themes/medium/components/Catalog.js +++ b/themes/medium/components/Catalog.js @@ -52,7 +52,6 @@ const Catalog = ({ toc }) => { } setActiveSection(currentSectionId) const index = tocIds.indexOf(currentSectionId) || 0 - console.log(tRef?.current) tRef?.current?.scrollTo({ top: 28 * index, behavior: 'smooth' }) }, throttleMs))