fix: correct component declaration in ChatWindow for call handling
- Updated the ChatWindow component to ensure proper declaration of the CallWindowComponent, enhancing the functionality of audio/video calls. - This change resolves an issue with the component rendering logic during active calls.
This commit is contained in:
@@ -502,8 +502,8 @@
|
||||
|
||||
<!-- Janela de Chamada -->
|
||||
{#if browser && chamadaAtiva && chamadaAtual && CallWindowComponent}
|
||||
{@const Component = CallWindowComponent}
|
||||
<div class="pointer-events-none fixed inset-0 z-[9999]">
|
||||
{@const Component = CallWindowComponent}
|
||||
<Component
|
||||
chamadaId={chamadaAtiva}
|
||||
conversaId={conversaId as Id<'conversas'>}
|
||||
|
||||
Reference in New Issue
Block a user