Skip to content

Commit

Permalink
Update placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
jonulak committed Dec 1, 2024
1 parent 8047b39 commit 02243a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/forms/apply-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const ApplyForm = () => {
const watchHasAttendedPreviousCourses = watch("hasAttendedPreviousCourse", false);
const watchWillAttendAnotherCourse = watch("willAttendAnotherCourse", false);


const onSubmit: SubmitHandler<IFormValues> = async (data) => {
try {
await axios.post("/api/apply", data);
Expand Down Expand Up @@ -249,7 +248,7 @@ const ApplyForm = () => {
</label>
<TextArea
id="previousCourses"
placeholder="Fundamentals of Spouse Stealing"
placeholder="Javascript 101"
bg="light"
feedbackText={errors?.previousCourses?.message}
state={hasKey(errors, "previousCourses") ? "error" : "success"}
Expand Down Expand Up @@ -280,7 +279,7 @@ const ApplyForm = () => {
</label>
<TextArea
id="otherCourses"
placeholder="Fundamentals of Spouse Stealing"
placeholder="Civvies Who Code"
bg="light"
feedbackText={errors?.otherCourses?.message}
state={hasKey(errors, "otherCourses") ? "error" : "success"}
Expand Down

0 comments on commit 02243a9

Please sign in to comment.