(fix): remove unused dependencies
Some checks failed
/ build-desktop (linux) (push) Failing after 52s
/ build-web (push) Failing after 1m3s
/ build-mobile (push) Failing after 1m6s
/ release (push) Has been skipped

(fix): remove dead code
(fix): remove unused exports
This commit is contained in:
Alois 2026-06-03 14:53:18 +02:00
commit be56080ba1
29 changed files with 168 additions and 338 deletions

View file

@ -109,8 +109,6 @@ type CallStore = {
layoutVersion: number;
screenRef: React.RefObject<HTMLDivElement | null> | null;
runtime: Runtime | null;
speakingParticipantIds: Set<number>;
micGated: boolean;
};
let _keyProvider: ExternalE2EEKeyProvider | null = null;
@ -857,7 +855,6 @@ export async function disconnect() {
watchedStreamParticipantIds: [],
pendingWatchedParticipantIds: [],
activeScreenShareParticipantIds: [],
micGated: false,
});
getRoom().remoteParticipants.forEach((participant) => {
@ -1079,8 +1076,6 @@ export const useCall = create<CallStore>(() => ({
layoutVersion: 0,
screenRef: null,
runtime: null,
speakingParticipantIds: new Set(),
micGated: false,
}));
// Register app-level call listeners and wire React dependencies into the store.