Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Sep 11, 2024
1 parent 5b2ec52 commit c9da76d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clientv2/src/pages/student/StudentProfile.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9da76d

Please sign in to comment.