change(web): apply MD suggestion from code review
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
Joshua Horton 2026-08-31 21:27:00 +07:00 committed by GitHub
parent 45e3df9822
commit 1c528dde8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);