Skip to content

Commit 994911b

Browse files
committed
remove console logs
1 parent 87d016f commit 994911b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/@react-spectrum/s2/style/style-macro.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ export function createTheme<T extends Theme>(theme: T): StyleFunction<ThemePrope
399399
let toStringFunc = new Function(`
400400
if (!globalThis.__macrosRegistry) {
401401
globalThis.__macrosRegistry = new globalThis.FinalizationRegistry((val) => {
402-
console.log('cleaning up,', val);
403402
delete globalThis.__macros[val];
404403
});
405404
}
@@ -424,7 +423,6 @@ let id = hash.toString(36);
424423
rules += " -macro$" + id;
425424
if (!globalThis.__macrosRegistry) {
426425
globalThis.__macrosRegistry = new globalThis.FinalizationRegistry((val) => {
427-
console.log('cleaning up,', val);
428426
delete globalThis.__macros[val];
429427
});
430428
}

0 commit comments

Comments
 (0)