Compare commits

...

1 Commits

Author SHA1 Message Date
fc789b135f feat: 删除未使用 2025-10-17 10:16:21 +08:00

View File

@@ -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 { Avatar, Divider, Space, SpinLoading, Toast } from "antd-mobile";
import { VoiceIcon } from "@workspace/shared"; import { VoiceIcon } from "@workspace/shared";
import { Message } from "../../../types"; import { Message } from "../../../types";
@@ -14,7 +14,6 @@ interface DefinedProps {
function Index(props: DefinedProps) { function Index(props: DefinedProps) {
const { data, isRecording } = props; const { data, isRecording } = props;
const audioRefs = useRef<{ [key: string]: HTMLAudioElement }>({}); const audioRefs = useRef<{ [key: string]: HTMLAudioElement }>({});
const [isPlaying, setIsPlating] = useState(false);
const [currentPlayingId, setCurrentPlayingId] = useState<number>(); const [currentPlayingId, setCurrentPlayingId] = useState<number>();
// useEffect(() => { // useEffect(() => {