Skip to content

Commit dad777a

Browse files
committed
fix bug
1 parent 8e33cd9 commit dad777a

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
@@ -109,7 +109,7 @@ export function trace(fn, label) {
109109
var value = fn();
110110
var time = (performance.now() - start).toFixed(2);
111111

112-
if (tracing_expressions.size === 0) {
112+
if (tracing_expressions.entries.size === 0) {
113113
// eslint-disable-next-line no-console
114114
console.log(`${label} %cno reactive dependencies (${time}ms)`, 'color: grey');
115115
} else {

0 commit comments

Comments
 (0)