Skip to content

Commit

Permalink
Test to see if GitHub Action is working
Browse files Browse the repository at this point in the history
* Change button  text from "Add" to "Add Video"
  • Loading branch information
Afsha10 committed Jan 30, 2024
1 parent 822cd7c commit 7f7d27b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/VideoForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down Expand Up @@ -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
</button>

<p className="text-red-700">{errorMessage}</p>
Expand Down

0 comments on commit 7f7d27b

Please sign in to comment.