aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ContentFittingDocumentView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-07 11:52:25 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-07 11:52:25 -0400
commit892174ef482f3d45167a0c2d1c3163e6b9443c66 (patch)
tree6457eeb1db901920001ea6bf69e3bb8574fcde48 /src/client/views/nodes/ContentFittingDocumentView.tsx
parent8b02394f24e4f15674bf18192f49ee2385d67655 (diff)
got rid of some run-time errors/warnings related to CORS-ifying imagebox requests, and avoiding memoizing messages for computedFn's outside reactions.
Diffstat (limited to 'src/client/views/nodes/ContentFittingDocumentView.tsx')
-rw-r--r--src/client/views/nodes/ContentFittingDocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ContentFittingDocumentView.tsx b/src/client/views/nodes/ContentFittingDocumentView.tsx
index 642264b85..641797cac 100644
--- a/src/client/views/nodes/ContentFittingDocumentView.tsx
+++ b/src/client/views/nodes/ContentFittingDocumentView.tsx
@@ -42,7 +42,7 @@ interface ContentFittingDocumentViewProps {
addDocTab: (document: Doc, where: string) => boolean;
pinToPres: (document: Doc) => void;
dontRegisterView?: boolean;
- rootSelected: () => boolean;
+ rootSelected: (outsideReaction?: boolean) => boolean;
}
@observer