From 152ee15a8df2664f07941eb185677d5c5c2ee38e Mon Sep 17 00:00:00 2001 From: Tore Sinding Bekkedal Date: Tue, 11 Jul 2023 19:00:09 +0200 Subject: [PATCH] Correct AUX number --- src/App.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index dcdee9a..c7600f4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,10 +1,9 @@ import "./App.css"; import { MonitoringStream } from "./MonitoringStream"; -import { ATEM_INPUTS, ATEMButtons, ATEMControl } from "./AtemControl"; +import { ATEMButtons, ATEMControl } from "./AtemControl"; import { TextSlideEditorDialog } from "./TextSlideEditor"; import { useEffect, useState } from "react"; import { Playout } from "./Playout.js"; -import { set } from "date-fns"; const API_BASE = import.meta.env.VITE_ATEM_URL; const useAtemAux = (auxIndex: number) => { @@ -32,7 +31,7 @@ const useAtemAux = (auxIndex: number) => { function App() { const [isOpen, setOpen] = useState(false); - const { input: aux1Input, setInput: setAux1Input } = useAtemAux(1); + const { input: aux1Input, setInput: setAux1Input } = useAtemAux(2); return (