From 7f7d27b31567f43dc04ab818135896dc36bb8312 Mon Sep 17 00:00:00 2001 From: Afsha10 Date: Tue, 30 Jan 2024 18:14:54 +0000 Subject: [PATCH] Test to see if GitHub Action is working * Change button text from "Add" to "Add Video" --- client/src/components/VideoForm.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/VideoForm.jsx b/client/src/components/VideoForm.jsx index c780e20135..b4fc9c4a6f 100644 --- a/client/src/components/VideoForm.jsx +++ b/client/src/components/VideoForm.jsx @@ -8,7 +8,7 @@ function VideoForm({ videoData, setVideoAdded }) { function addVideoHandler(event) { event.preventDefault(); - // Validate the form inputs + // Validate the form inputs function validateUrl(urlObject) { return ( validUrl.isUri(urlObject) && @@ -93,7 +93,7 @@ function VideoForm({ videoData, setVideoAdded }) { type="submit" className="m-2 rounded bg-black px-4 py-2 font-bold text-white transition-colors duration-200 hover:bg-red-300 active:bg-red-700 sm:rounded-lg sm:px-3 sm:py-6" > - Add + Add Video

{errorMessage}