this code should no longer need

This commit is contained in:
Sam Saffron 2025-05-23 22:05:17 +10:00
parent cf220c530c
commit 7912b5e8be
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5

View File

@ -196,19 +196,6 @@ export default class DiffStreamer {
}
this.typingTimer = later(this, this.#streamNextChar, this.typingDelay);
} else {
if (!this.suggestion || !this.selectedText || !this.jsDiff) {
return;
}
const originalDiff = this.jsDiff.diffWordsWithSpace(
this.selectedText,
this.suggestion
);
this.typingTimer = null;
this.diff = this.#formatDiffWithTags(originalDiff, false);
this.isStreaming = false;
}
}