Skip to content

Commit 3c4cc8b

Browse files
committed
Make application link a non-required field
1 parent 10b7b68 commit 3c4cc8b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

frontend/src/components/Courses/AddCourse.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,7 @@ const AddCourse = ({ isOpen, onClose }: AddCourseProps) => {
125125
<FormControl isRequired>
126126
<FormLabel>Application Link</FormLabel>
127127
<Input
128-
{...register("post.application_link", {
129-
required: "Application link is required",
130-
})}
131-
placeholder="Application Link"
128+
{...register("post.application_link")} placeholder="Application Link"
132129
/>
133130
{errors.post?.application_link && (
134131
<FormErrorMessage>

0 commit comments

Comments
 (0)