From 62a3add97f475bb92759ee1664f73c2136b26c4e Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Thu, 29 Jan 2026 15:15:23 +0000 Subject: [PATCH] Fix some other issues Signed-off-by: Charles de Dreuille --- docs-ui/scripts/sync-changelog.mjs | 1 - docs-ui/src/components/TableOfContents/TableOfContents.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs-ui/scripts/sync-changelog.mjs b/docs-ui/scripts/sync-changelog.mjs index 0745979430..fa59db741b 100644 --- a/docs-ui/scripts/sync-changelog.mjs +++ b/docs-ui/scripts/sync-changelog.mjs @@ -1,5 +1,4 @@ #!/usr/bin/env node -/* eslint-disable no-restricted-syntax */ import fs from 'fs'; import path from 'path'; diff --git a/docs-ui/src/components/TableOfContents/TableOfContents.tsx b/docs-ui/src/components/TableOfContents/TableOfContents.tsx index 3da5b95b15..429d677b80 100644 --- a/docs-ui/src/components/TableOfContents/TableOfContents.tsx +++ b/docs-ui/src/components/TableOfContents/TableOfContents.tsx @@ -20,7 +20,7 @@ export function TableOfContents() { // Update indicator position when activeId changes useLayoutEffect(() => { if (!activeId) return; - + // Use requestAnimationFrame to defer setState call const rafId = requestAnimationFrame(() => { const activeElement = document.querySelector(