try to fix fast reload
This commit is contained in:
@@ -11,7 +11,7 @@ export interface ChatOverlayProps {
|
||||
isVisible: boolean;
|
||||
position: { x: number; y: number };
|
||||
onPositionChange: (position: { x: number; y: number }) => void;
|
||||
containerRef: React.RefObject<HTMLDivElement>;
|
||||
containerRef: React.RefObject<HTMLDivElement | null>;
|
||||
onToggle: () => void;
|
||||
}
|
||||
|
||||
|
||||
@@ -1179,7 +1179,7 @@ export function PhoneSimulator({
|
||||
<ChatOverlay
|
||||
agentAudioTrack={voiceAssistant.audioTrack}
|
||||
accentColor={config.settings.theme_color}
|
||||
inputDisabled={phoneMode === "important_message" || phoneMode === "hand_off"}
|
||||
inputDisabled={phoneMode === "hand_off"}
|
||||
isVisible={showChatOverlay}
|
||||
position={chatOverlayPosition}
|
||||
onPositionChange={setChatOverlayPosition}
|
||||
|
||||
Reference in New Issue
Block a user