From 9b93cab845361f15cb043b699ae18e12fc36c3eb Mon Sep 17 00:00:00 2001 From: Steven Engelbert Date: Thu, 9 Jan 2025 13:05:55 -0500 Subject: [PATCH] Remove unused changes --- .../CreateStreamModal/StreamModal/StreamModal.jsx | 8 -------- .../CreateStreamModal/TypeSelectModal/TypeSelectModal.jsx | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/web/src/components/CreateStreamModal/StreamModal/StreamModal.jsx b/web/src/components/CreateStreamModal/StreamModal/StreamModal.jsx index 2957e1ba2..f56eb2ff0 100644 --- a/web/src/components/CreateStreamModal/StreamModal/StreamModal.jsx +++ b/web/src/components/CreateStreamModal/StreamModal/StreamModal.jsx @@ -21,14 +21,6 @@ const RESTART_DESC = "Sometimes the stream gets into a bad state and neds to be const TextArg = ({ name, desc, type="text", value, onChange, required, error }) => { - const apply = (stream) => { - return fetch("/api/stream", { - method: "POST", - headers: { "Content-Type": "application/json" }, - body: JSON.stringify(stream), - }); - }; - return ( <>
diff --git a/web/src/components/CreateStreamModal/TypeSelectModal/TypeSelectModal.jsx b/web/src/components/CreateStreamModal/TypeSelectModal/TypeSelectModal.jsx index 158ca1af1..4d2edca7a 100644 --- a/web/src/components/CreateStreamModal/TypeSelectModal/TypeSelectModal.jsx +++ b/web/src/components/CreateStreamModal/TypeSelectModal/TypeSelectModal.jsx @@ -25,7 +25,7 @@ const TypeSelectModal = ({ onClose, onSelect }) => { return ( <> - +
Select A Stream Type