From 859d2d942b7766ed8052ff66be991e4d593982ff Mon Sep 17 00:00:00 2001 From: geireann Date: Thu, 24 Aug 2023 12:10:07 -0400 Subject: fixed gpt anno to not create an anchor unless actually requeted. --- src/client/views/pdf/GPTPopup/GPTPopup.tsx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/client/views/pdf/GPTPopup') diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx index 034470c6e..8bf626d73 100644 --- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx +++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx @@ -88,13 +88,6 @@ export class GPTPopup extends React.Component { this.sidebarId = id; }; - // pdfs and webpages - @observable - private targetAnchor: Doc | undefined; - @action - public setTargetAnchor = (anchor: Doc) => { - this.targetAnchor = anchor; - }; @observable private imgTargetDoc: Doc | undefined; -- cgit v1.2.3-70-g09d2