aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LinkDocPreview.tsx
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-29 14:42:36 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-29 14:42:36 -0700
commit2646aa86bc6d676e848028601f9a4fedeefe35be (patch)
tree42d208346a283f788268c9d74de7dcc835bd84a6 /src/client/views/nodes/LinkDocPreview.tsx
parent992a65ec6f828dda0adcd3cd121896f07f64af87 (diff)
parent73bbc602fb964c82999faccfdde8eeca6fbf08c4 (diff)
pull
Diffstat (limited to 'src/client/views/nodes/LinkDocPreview.tsx')
-rw-r--r--src/client/views/nodes/LinkDocPreview.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/nodes/LinkDocPreview.tsx b/src/client/views/nodes/LinkDocPreview.tsx
index 126dc240a..e8a08abb5 100644
--- a/src/client/views/nodes/LinkDocPreview.tsx
+++ b/src/client/views/nodes/LinkDocPreview.tsx
@@ -25,8 +25,8 @@ export class LinkDocPreview extends React.Component<Props> {
@observable _targetDoc: Opt<Doc>;
@observable _toolTipText = "";
- componentDidUpdate() { this.updatePreview() }
- componentDidMount() { this.updatePreview() }
+ componentDidUpdate() { this.updatePreview(); }
+ componentDidMount() { this.updatePreview(); }
async updatePreview() {
const linkDoc = this.props.linkDoc;
const linkSrc = this.props.linkSrc;
@@ -104,4 +104,4 @@ export class LinkDocPreview extends React.Component<Props> {
{this.targetDocView}
</div>;
}
-} \ No newline at end of file
+}