diff --git a/src/components/context/audio-conext.tsx b/src/components/context/audio-conext.tsx index 850e491..9c1523e 100644 --- a/src/components/context/audio-conext.tsx +++ b/src/components/context/audio-conext.tsx @@ -48,7 +48,7 @@ export const AudioProvider: React.FC<{ children: ReactNode }> = ({ children, }) => { const audioRef = useRef(null); - const partRefs = useRef<(HTMLDivElement | null)[]>([]); + let partRefs = useRef<(HTMLDivElement | null)[]>([]); const [audios, setAudios] = useState