aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocComponent.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r--src/client/views/DocComponent.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx
index fb8ef7c36..4400b3576 100644
--- a/src/client/views/DocComponent.tsx
+++ b/src/client/views/DocComponent.tsx
@@ -73,10 +73,7 @@ export function ViewBoxBaseComponent<P extends ViewBoxBaseProps>() {
return this._props.DocumentView;
}
get docViewPath() {
- return this.DocumentView?.().docViewPath ?? emptyPath;
- }
- get docViewPathFunc() {
- return this.DocumentView?.().docViewPathFunc ?? returnEmptyDocViewList;
+ return this.DocumentView?.().docViewPath ?? returnEmptyDocViewList;
}
get containerViewPath() {
return this._props.containerViewPath;
@@ -136,10 +133,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>()
return this._props.DocumentView;
}
get docViewPath() {
- return this.DocumentView?.().docViewPath ?? emptyPath;
- }
- get docViewPathFunc() {
- return this.DocumentView?.().docViewPathFunc ?? returnEmptyDocViewList;
+ return this.DocumentView?.().docViewPath ?? returnEmptyDocViewList;
}
get containerViewPath() {
return this.DocumentView?.().containerViewPath ?? returnEmptyDocViewList;