diff --git a/src/Utils/useRecorder.js b/src/Utils/useRecorder.js index b601a08f06c..11f3981e225 100644 --- a/src/Utils/useRecorder.js +++ b/src/Utils/useRecorder.js @@ -1,7 +1,7 @@ import { useEffect, useState } from "react"; import { Error } from "./Notifications"; -const useRecorder = (handleMicPermission) => { +const useRecorder = (handleMicPermission: () => void) => { const [audioURL, setAudioURL] = useState(""); const [isRecording, setIsRecording] = useState(false); const [recorder, setRecorder] = useState(null);