Skip to content

Commit 2bf9d6a

Browse files
committed
I don't think there is a bug here, different states get different macro hashes
1 parent a68dbfd commit 2bf9d6a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ export function createTheme<T extends Theme>(theme: T): StyleFunction<ThemePrope
388388
});
389389
}
390390

391-
// bug here, multiple calls to style may collide
392391
// @ts-expect-error
393392
let loc = this?.loc?.filePath + ':' + this?.loc?.line + ':' + this?.loc?.col;
394393
if (isStatic && process.env.NODE_ENV !== 'production') {

0 commit comments

Comments
 (0)