fix(style): stt loading

This commit is contained in:
jialin
2024-11-29 22:10:52 +08:00
parent 1ac3768468
commit 412c6dadca
4 changed files with 26 additions and 19 deletions
@@ -12,7 +12,7 @@ interface Options {
autoplay?: boolean;
audioRate?: number;
onReady?: () => void;
onClick: (value: any) => void;
onClick: (value: number) => void;
}
const useWavesurfer = (options: Options) => {
const wavesurfer = useRef<WaveSurfer | null>(null);