aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkMenu.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-11 00:41:05 -0500
committerbobzel <zzzman@gmail.com>2023-12-11 00:41:05 -0500
commitbe2569d8640f1693eb27f124ad3dd8062ada4837 (patch)
treefe12bc1e68210d21971ebd893da4e2948f3b3966 /src/client/views/linking/LinkMenu.tsx
parent380ee1acac1c0b7972d7d423cf804af146dc0edf (diff)
more updates to mobx 6. updated typescript to v5. updated pdf-dist
Diffstat (limited to 'src/client/views/linking/LinkMenu.tsx')
-rw-r--r--src/client/views/linking/LinkMenu.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/linking/LinkMenu.tsx b/src/client/views/linking/LinkMenu.tsx
index 91d812f35..af22f41e1 100644
--- a/src/client/views/linking/LinkMenu.tsx
+++ b/src/client/views/linking/LinkMenu.tsx
@@ -3,7 +3,7 @@ import { observer } from 'mobx-react';
import { Doc } from '../../../fields/Doc';
import { LinkManager } from '../../util/LinkManager';
import { DocumentView } from '../nodes/DocumentView';
-import { LinkDocPreview } from '../nodes/LinkDocPreview';
+import { LinkInfo } from '../nodes/LinkDocPreview';
import './LinkMenu.scss';
import { LinkMenuGroup } from './LinkMenuGroup';
import * as React from 'react';
@@ -38,7 +38,7 @@ export class LinkMenu extends React.Component<Props> {
}
onPointerDown = action((e: PointerEvent) => {
- LinkDocPreview.Clear();
+ LinkInfo.Clear();
if (!this._linkMenuRef.current?.contains(e.target as any) && !this._editorRef.current?.contains(e.target as any)) {
this.clear();
}