feat: mixer tank selector

This commit is contained in:
TrèsAbhi committed 2025-09-18 10:41:42 -05:00
1 parent 7afce6cbcb
commit 6e0429332d
9 files changed
+161 -45

No files matched your search

+3
View File
@@ -39,6 +39,8 @@ export class Varuna<Type, Arguments = void> {
}
useInitialization(...args: Arguments[]) {
if (this.initialized) return;
const initializedThisMount = useRef(false);
if (initializedThisMount.current) return;
@@ -53,6 +55,7 @@ export class Varuna<Type, Arguments = void> {
private dispatch() {
const state = this.state;
console.log("dispatched");
this.listeners.forEach((callback) => callback(state));
}