Fix permission detection system on firefox

This commit is contained in:
Koper
2023-09-26 21:27:38 +01:00
parent e92b4061fe
commit bb5888c4e7
3 changed files with 17 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ const TranscriptCreate = () => {
requestPermission,
getAudioStream,
} = useAudioDevice();
const [hasRecorded, setHasRecorded] = useState(false);
const [transcriptStarted, setTranscriptStarted] = useState(false);