mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
performance
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user