fix: Correct incomplete $state initialization in multiple Svelte components and pages.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
cameras: []
|
||||
});
|
||||
|
||||
const selecionados = $state({
|
||||
let selecionados = $state({
|
||||
microphoneId: dispositivoAtual.microphoneId || null,
|
||||
cameraId: dispositivoAtual.cameraId || null,
|
||||
speakerId: dispositivoAtual.speakerId || null
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
let carregando = $state(false);
|
||||
let previewStream: MediaStream | null = $state(null);
|
||||
const previewVideo: HTMLVideoElement | null = $state(null);
|
||||
let previewVideo: HTMLVideoElement | null = $state(null);
|
||||
let erro = $state<string | null>(null);
|
||||
|
||||
// Carregar dispositivos disponíveis
|
||||
|
||||
Reference in New Issue
Block a user