From c9da76d933dc31452b281ed7050afec57014ae9d Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Wed, 11 Sep 2024 11:08:00 -0500 Subject: [PATCH] fix linting --- clientv2/src/pages/student/StudentProfile.page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientv2/src/pages/student/StudentProfile.page.tsx b/clientv2/src/pages/student/StudentProfile.page.tsx index e4c9719..26ea37b 100644 --- a/clientv2/src/pages/student/StudentProfile.page.tsx +++ b/clientv2/src/pages/student/StudentProfile.page.tsx @@ -211,8 +211,8 @@ export function StudentHomePage() { if (!isValidGithubProfile(studentData?.github)) { return showErrorSaveNotification('GitHub field is not a valid GitHub Profile URL.'); } - if (studentData.degrees.length == 0) { - return showErrorSaveNotification('You must specify at least one degree.') + if (studentData.degrees.length === 0) { + return showErrorSaveNotification('You must specify at least one degree.'); } try { if (file && file.size !== 0) {