From c7b6395cc92c7253c8f37479ad6a240e561e4b1e Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Sat, 6 May 2023 20:12:38 +0800 Subject: [PATCH] chore: voice tweaks --- src/routes/chat/RTCWidget.tsx | 2 +- src/routes/chat/VoiceFullscreen.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/chat/RTCWidget.tsx b/src/routes/chat/RTCWidget.tsx index 36904d7c..07760c16 100644 --- a/src/routes/chat/RTCWidget.tsx +++ b/src/routes/chat/RTCWidget.tsx @@ -43,7 +43,7 @@ const RTCWidget = ({ id, context = "channel" }: Props) => {
{isReConnecting ? `Voice Reconnecting...` : `Voice Connected`} - {voicingInfo.context == "channel" ? "Channel" : "DM"} / {voicingInfo.context == "channel" ? channelData[voicingInfo.id].name : userData[voicingInfo.id].name} + {voicingInfo.context == "channel" ? "Channel" : "DM"} / {voicingInfo.context == "channel" ? channelData[voicingInfo.id]?.name : userData[voicingInfo.id]?.name}
diff --git a/src/routes/chat/VoiceFullscreen.tsx b/src/routes/chat/VoiceFullscreen.tsx index 22d0d3d9..2dc331af 100644 --- a/src/routes/chat/VoiceFullscreen.tsx +++ b/src/routes/chat/VoiceFullscreen.tsx @@ -112,7 +112,7 @@ const VoiceFullscreen = ({ id, context }: Props) => { {!disablePin && }