Dir sync filesystem watching

This commit is contained in:
Gregory Schier
2025-01-06 09:24:07 -08:00
parent c72180bb59
commit c2ea2a5fe5
35 changed files with 525 additions and 482 deletions

View File

@@ -117,7 +117,7 @@ export const PairEditor = forwardRef<PairEditorRef, PairEditorProps>(function Pa
// Add empty last pair if there is none
const lastPair = newPairs[newPairs.length - 1];
if (lastPair != null && !isPairEmpty(lastPair)) {
if (lastPair == null || !isPairEmpty(lastPair)) {
newPairs.push(emptyPair());
}