no need to stop from server

This commit is contained in:
Jose B
2023-07-27 19:42:09 -05:00
parent f17d996f39
commit e68b6ced11
3 changed files with 4 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ export default function Recorder(props) {
const handleRecClick = async () => {
if (!record) return console.log("no record");
if (record?.isRecording()) {
if (record.isRecording()) {
props.onStop();
record.stopRecording();
setIsRecording(false);