mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
hotfix: fix vercel build
This commit is contained in:
@@ -14,6 +14,7 @@ import { AudioWaveform } from "../../api";
|
|||||||
import AudioInputsDropdown from "./audioInputsDropdown";
|
import AudioInputsDropdown from "./audioInputsDropdown";
|
||||||
import { Option } from "react-dropdown";
|
import { Option } from "react-dropdown";
|
||||||
import { waveSurferStyles } from "../../styles/recorder";
|
import { waveSurferStyles } from "../../styles/recorder";
|
||||||
|
import { useError } from "../../(errors)/errorContext";
|
||||||
|
|
||||||
type RecorderProps = {
|
type RecorderProps = {
|
||||||
setStream?: React.Dispatch<React.SetStateAction<MediaStream | null>>;
|
setStream?: React.Dispatch<React.SetStateAction<MediaStream | null>>;
|
||||||
@@ -49,6 +50,7 @@ export default function Recorder(props: RecorderProps) {
|
|||||||
const [activeTopic, setActiveTopic] = props.useActiveTopic;
|
const [activeTopic, setActiveTopic] = props.useActiveTopic;
|
||||||
const topicsRef = useRef(props.topics);
|
const topicsRef = useRef(props.topics);
|
||||||
const [showDevices, setShowDevices] = useState(false);
|
const [showDevices, setShowDevices] = useState(false);
|
||||||
|
const { setError } = useError();
|
||||||
|
|
||||||
// Function used to setup keyboard shortcuts for the streamdeck
|
// Function used to setup keyboard shortcuts for the streamdeck
|
||||||
const setupProjectorKeys = (): (() => void) => {
|
const setupProjectorKeys = (): (() => void) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user