chore: updates for voice

This commit is contained in:
Tristan Yang
2023-03-31 13:29:02 +08:00
parent c35a7d211b
commit 9f5e876a66
6 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ const VoiceChat = ({ id, context = "channel" }: Props) => {
if (!loginUser) return null;
const visible = contextData.visibleAside == "voice";
const memberCount = voiceList.find((v) => v.context == context && v.id == id)?.memberCount ?? 0;
const badgeClass = `absolute -top-1 -right-1 w-4 h-4 rounded-full bg-primary-400 text-white `;
const badgeClass = `absolute -top-2 -right-2 w-4 h-4 rounded-full bg-primary-400 text-white `;
return (
<Tooltip disabled={visible} tip={t("voice")} placement="left">
<li className={`relative group`} >