Skip to content

Commit 0c8575f

Browse files
committed
fix
1 parent 7322128 commit 0c8575f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/dev/tracing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function trace(fn, label, computed) {
135135
label,
136136
value,
137137
time,
138-
stacks: [read_stack, write_stack],
138+
stacks: write_stack ? [read_stack, write_stack] : [read_stack],
139139
sub: null
140140
});
141141

0 commit comments

Comments
 (0)