mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 13:20:39 -07:00
- Added isRecordingRef to track recording state more reliably. - Implemented console logging for key actions in startRecording and cancelRecording functions to aid in debugging. - Updated cleanup logic on component unmount to ensure proper cancellation of recording if still active. - Refactored condition checks to utilize isRecordingRef for improved performance and clarity.