From fc789b135f82ceb33c91c320a46d75fcc5082bdb Mon Sep 17 00:00:00 2001 From: qianpw <2233607957@qq.com> Date: Fri, 17 Oct 2025 10:16:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/view/home/translate/component/message/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/translate-h5/src/view/home/translate/component/message/index.tsx b/projects/translate-h5/src/view/home/translate/component/message/index.tsx index 05a66b0..37dba2c 100644 --- a/projects/translate-h5/src/view/home/translate/component/message/index.tsx +++ b/projects/translate-h5/src/view/home/translate/component/message/index.tsx @@ -1,4 +1,4 @@ -import { useEffect, useRef, useState } from "react"; +import { useRef, useState } from "react"; import { Avatar, Divider, Space, SpinLoading, Toast } from "antd-mobile"; import { VoiceIcon } from "@workspace/shared"; import { Message } from "../../../types"; @@ -14,7 +14,6 @@ interface DefinedProps { function Index(props: DefinedProps) { const { data, isRecording } = props; const audioRefs = useRef<{ [key: string]: HTMLAudioElement }>({}); - const [isPlaying, setIsPlating] = useState(false); const [currentPlayingId, setCurrentPlayingId] = useState(); // useEffect(() => {