Fixed instances not resolving on different content scripts

This commit is contained in:
koloml committed 2025-03-10 06:08:08 +04:00
1 parent c1ed23dee5
commit 37095a2f22
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
import type { BaseComponent } from "$lib/components/base/BaseComponent";
const instanceSymbol = Symbol('instance');
const instanceSymbol = Symbol.for('instance');
interface ElementWithComponent<T> extends HTMLElement {
[instanceSymbol]?: T;