From 8d0d2d95e90d6c4a6ffa55a68b7d0d9ca9b7cdea Mon Sep 17 00:00:00 2001 From: Henrik Nygren Date: Mon, 23 Sep 2024 09:29:28 +0300 Subject: [PATCH] Add event.preventDefault() --- services/main-frontend/src/components/forms/NewCourseForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/main-frontend/src/components/forms/NewCourseForm.tsx b/services/main-frontend/src/components/forms/NewCourseForm.tsx index 9787d00527e..9014e21cca5 100644 --- a/services/main-frontend/src/components/forms/NewCourseForm.tsx +++ b/services/main-frontend/src/components/forms/NewCourseForm.tsx @@ -331,7 +331,8 @@ const NewCourseForm: React.FC> = ({