diff --git a/web/src/engine/predictive-text/worker-thread/src/main/correction/legacy-quotient-spur.ts b/web/src/engine/predictive-text/worker-thread/src/main/correction/legacy-quotient-spur.ts index 9f7ddbe505..b8d6992147 100644 --- a/web/src/engine/predictive-text/worker-thread/src/main/correction/legacy-quotient-spur.ts +++ b/web/src/engine/predictive-text/worker-thread/src/main/correction/legacy-quotient-spur.ts @@ -49,7 +49,7 @@ export class LegacyQuotientSpur extends SearchQuotientSpur { this.leftDeleteLength = inputSample.deleteLeft; // Link to the grandparent node if it exists; transposes start construction rooted there. - const grandparentNode = this.parents[0].parents[0] + const grandparentNode = this.parents[0].parents[0]; if(grandparentNode) { this.incomingTransposeRootNodes = [...grandparentNode.previousResults]; this.linkAndQueueFromParent(grandparentNode, this.incomingTransposeRootNodes);