From 898d1ffcab4d6371e92d26a6f8726b7bf96cdfe1 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 9 Nov 2023 17:59:06 +0100 Subject: [PATCH] hotfix: fix vercel build --- www/app/[domain]/transcripts/recorder.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/app/[domain]/transcripts/recorder.tsx b/www/app/[domain]/transcripts/recorder.tsx index 4b2e8eb0..77026a83 100644 --- a/www/app/[domain]/transcripts/recorder.tsx +++ b/www/app/[domain]/transcripts/recorder.tsx @@ -14,6 +14,7 @@ import { AudioWaveform } from "../../api"; import AudioInputsDropdown from "./audioInputsDropdown"; import { Option } from "react-dropdown"; import { waveSurferStyles } from "../../styles/recorder"; +import { useError } from "../../(errors)/errorContext"; type RecorderProps = { setStream?: React.Dispatch>; @@ -49,6 +50,7 @@ export default function Recorder(props: RecorderProps) { const [activeTopic, setActiveTopic] = props.useActiveTopic; const topicsRef = useRef(props.topics); const [showDevices, setShowDevices] = useState(false); + const { setError } = useError(); // Function used to setup keyboard shortcuts for the streamdeck const setupProjectorKeys = (): (() => void) => {