Skip to content

Commit

Permalink
fix(language-core): hold prev track id correctly (#4961)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX authored Oct 30, 2024
1 parent 61edd58 commit 5467277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-core/lib/virtualFile/computedSfc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5467277

Please sign in to comment.