aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LinkDocPreview.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-16 11:40:25 -0400
committerbobzel <zzzman@gmail.com>2020-09-16 11:40:25 -0400
commit4fc10a64e35234da2dafd03c3f53f5e080e754d2 (patch)
tree02e70ed9d3804e613e8c132a50494bf9d95b5e71 /src/client/views/nodes/LinkDocPreview.tsx
parentc48a087c2bc637d3bf792486806bbc33ddb8d2d7 (diff)
cleaned up TabDocView a bit
Diffstat (limited to 'src/client/views/nodes/LinkDocPreview.tsx')
-rw-r--r--src/client/views/nodes/LinkDocPreview.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkDocPreview.tsx b/src/client/views/nodes/LinkDocPreview.tsx
index 2d26c5c6d..89ea57f65 100644
--- a/src/client/views/nodes/LinkDocPreview.tsx
+++ b/src/client/views/nodes/LinkDocPreview.tsx
@@ -16,7 +16,7 @@ interface Props {
linkDoc?: Doc;
linkSrc?: Doc;
href?: string;
- backgroundColor: (doc: Doc, renderDepth: number) => string;
+ backgroundColor: (doc: Opt<Doc>, renderDepth: number) => string;
addDocTab: (document: Doc, where: string) => boolean;
location: number[];
}