diff --git a/packages/language-core/lib/virtualFile/computedSfc.ts b/packages/language-core/lib/virtualFile/computedSfc.ts index 835b4e311d..3ca12f830a 100644 --- a/packages/language-core/lib/virtualFile/computedSfc.ts +++ b/packages/language-core/lib/virtualFile/computedSfc.ts @@ -15,7 +15,7 @@ export function computedSfc( ): Sfc { const untrackedSnapshot = () => { - const prevTrackId = System.activeTrackId = 0; + const prevTrackId = System.activeTrackId; System.activeTrackId = 0; const res = snapshot.get(); System.activeTrackId = prevTrackId;