diff options
| author | bobzel <zzzman@gmail.com> | 2021-10-16 01:58:15 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-10-16 01:58:15 -0400 |
| commit | bdf0befa2b5eff79c2729254c2d053afe18b1646 (patch) | |
| tree | 18978affe4b2209c51a9e14277bf2e4bffeb6e2c /src/client/views/nodes | |
| parent | b08232def0a7533cc7dbc7db8d3153e72a3ff2d5 (diff) | |
fixed warnings/errors & redirection to /home
Diffstat (limited to 'src/client/views/nodes')
| -rw-r--r-- | src/client/views/nodes/ComparisonBox.tsx | 2 |
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 ? <> |
