minor fix

This commit is contained in:
Jose B
2023-07-21 07:13:21 -05:00
parent 159e9fcc09
commit e6578d1da2
2 changed files with 2 additions and 8 deletions

View File

@@ -69,6 +69,7 @@ export default function Recorder(props) {
record.stopRecording();
setIsRecording(false);
document.getElementById("play-btn").disabled = false;
props.onStop()
} else {
const stream = await navigator.mediaDevices.getUserMedia({
audio: { deviceId },