aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-10-16 01:58:15 -0400
committerbobzel <zzzman@gmail.com>2021-10-16 01:58:15 -0400
commitbdf0befa2b5eff79c2729254c2d053afe18b1646 (patch)
tree18978affe4b2209c51a9e14277bf2e4bffeb6e2c /src/client/views/nodes
parentb08232def0a7533cc7dbc7db8d3153e72a3ff2d5 (diff)
fixed warnings/errors & redirection to /home
Diffstat (limited to 'src/client/views/nodes')
-rw-r--r--src/client/views/nodes/ComparisonBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ComparisonBox.tsx b/src/client/views/nodes/ComparisonBox.tsx
index 0f962f95c..750213e67 100644
--- a/src/client/views/nodes/ComparisonBox.tsx
+++ b/src/client/views/nodes/ComparisonBox.tsx
@@ -88,7 +88,7 @@ export class ComparisonBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatabl
</div>;
};
const displayDoc = (which: string) => {
- var whichDoc = Cast(this.dataDoc[which], Doc, null);
+ const whichDoc = Cast(this.dataDoc[which], Doc, null);
//if (whichDoc?.type === DocumentType.MARKER)
const targetDoc = Cast(whichDoc?.annotationOn, Doc, null) ?? whichDoc;
return whichDoc ? <>