Do not observe options of wavesurfer.

This commit is contained in:
Toshihiko Yanase
2023-12-06 22:31:23 +09:00
parent dfc699e69c
commit afe0299e4f
@@ -28,7 +28,7 @@ const useWavesurfer = (
return () => {
ws.destroy()
}
}, [options, containerRef])
}, [containerRef])
return wavesurfer
}