From 78806e6fdde078c669e0a39a630490d4e0be7e1e Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 2 Jul 2021 23:38:14 +0530 Subject: [PATCH] feature(ui) - assist actions --- frontend/app/components/Assist/ChatWindow/ChatWindow.tsx | 6 +++--- .../Assist/components/AssistActions/AssistActions.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx b/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx index cdcc5e32c..8bba93bf3 100644 --- a/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx +++ b/frontend/app/components/Assist/ChatWindow/ChatWindow.tsx @@ -6,12 +6,12 @@ import { callPeer } from 'App/player' import cn from 'classnames' export interface Props { - inputStream: MediaStream | null, - outputStream: MediaStream | null + incomeStream: MediaStream | null, + localStream: MediaStream | null // call: (oStream: MediaStream, cb: (iStream: MediaStream)=>void)=>void } -const ChatWindow: FC = function ChatWindow({ inputStream, outputStream }) { +const ChatWindow: FC = function ChatWindow({ incomeStream, localStream }) { const [minimize, setMinimize] = useState(false) return ( diff --git a/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx b/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx index 995e9a5e5..5523eeacc 100644 --- a/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx +++ b/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx @@ -70,7 +70,7 @@ function AssistActions({ toggleChatWindow, userId, calling }: Props) { position="top right" />
- { showChat && } + { showChat && }
)