Skip to content

Commit

Permalink
Correct AUX number
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jul 11, 2023
1 parent 21a6379 commit 152ee15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -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) => {
Expand Down Expand Up @@ -32,7 +31,7 @@ const useAtemAux = (auxIndex: number) => {
function App() {
const [isOpen, setOpen] = useState<boolean>(false);

const { input: aux1Input, setInput: setAux1Input } = useAtemAux(1);
const { input: aux1Input, setInput: setAux1Input } = useAtemAux(2);

return (
<div className={"bg-gray-200 lg:p-8 flex-col flex lg:gap-4 lg:flex-row"}>
Expand Down

0 comments on commit 152ee15

Please sign in to comment.