From 44bf11764128a066f126cbd864ca6b697c86235d Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 19 Dec 2025 14:10:57 +0100 Subject: [PATCH] Temporarily disable fix introduced in #7477 --- src/sidebar/components/SidebarTabs.tsx | 7 +++---- src/sidebar/components/test/SidebarTabs-test.js | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/sidebar/components/SidebarTabs.tsx b/src/sidebar/components/SidebarTabs.tsx index 8423b7eac6a..3c15e693afa 100644 --- a/src/sidebar/components/SidebarTabs.tsx +++ b/src/sidebar/components/SidebarTabs.tsx @@ -111,7 +111,6 @@ function SidebarTabs({ annotationsService, isLoading, settings, - frameSync, }: SidebarTabsProps) { const { rootThread, tabCounts } = useRootThread(); const store = useSidebarStore(); @@ -148,9 +147,9 @@ function SidebarTabs({ const tabCountsSummary = tabCountsSummaryPieces.join(', '); const createPageNoteWithDocumentMeta = useCallback(async () => { - const { metadata } = await frameSync.getDocumentInfo(); - annotationsService.createPageNote(metadata); - }, [annotationsService, frameSync]); + // const { metadata } = await frameSync.getDocumentInfo(); + annotationsService.createPageNote(/* metadata */); + }, [annotationsService]); return ( <> diff --git a/src/sidebar/components/test/SidebarTabs-test.js b/src/sidebar/components/test/SidebarTabs-test.js index d66771bdaca..35fa27fe86b 100644 --- a/src/sidebar/components/test/SidebarTabs-test.js +++ b/src/sidebar/components/test/SidebarTabs-test.js @@ -166,7 +166,7 @@ describe('SidebarTabs', () => { .props() .onClick(); - assert.calledOnce(fakeFrameSync.getDocumentInfo); + // assert.calledOnce(fakeFrameSync.getDocumentInfo); assert.calledOnce(fakeAnnotationsService.createPageNote); }); });