aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf
diff options
context:
space:
mode:
authorgeireann <geireann.lindfield@gmail.com>2023-08-24 12:10:07 -0400
committergeireann <geireann.lindfield@gmail.com>2023-08-24 12:10:07 -0400
commit859d2d942b7766ed8052ff66be991e4d593982ff (patch)
treed2a88dc028cb471d47ab1801540e73d1d00d1115 /src/client/views/pdf
parentf2101ee3d60baa8a3ca4fd7fee7dc96ed2ed6645 (diff)
fixed gpt anno to not create an anchor unless actually requeted.
Diffstat (limited to 'src/client/views/pdf')
-rw-r--r--src/client/views/pdf/GPTPopup/GPTPopup.tsx7
1 files changed, 0 insertions, 7 deletions
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<GPTPopupProps> {
this.sidebarId = id;
};
- // pdfs and webpages
- @observable
- private targetAnchor: Doc | undefined;
- @action
- public setTargetAnchor = (anchor: Doc) => {
- this.targetAnchor = anchor;
- };
@observable
private imgTargetDoc: Doc | undefined;