diff --git a/src/components/pages/AdminProfForm/AdminProfForm.tsx b/src/components/pages/AdminProfForm/AdminProfForm.tsx index 6c4776dd..7f497767 100644 --- a/src/components/pages/AdminProfForm/AdminProfForm.tsx +++ b/src/components/pages/AdminProfForm/AdminProfForm.tsx @@ -149,7 +149,6 @@ function AdminProfForm({ professorId }: Props) { login(accessToken); router.push("/"); router.refresh(); - } catch (err) { console.error(err); } diff --git a/src/components/pages/achievement/AchievementForm.tsx b/src/components/pages/achievement/AchievementForm.tsx index 7fcff6ab..362f9d34 100644 --- a/src/components/pages/achievement/AchievementForm.tsx +++ b/src/components/pages/achievement/AchievementForm.tsx @@ -107,9 +107,19 @@ function AchievementForm({ form, handleSubmit, isEdit, isAdmin }: Props) { - + {" - "} - +