Skip to content

Commit

Permalink
Merge pull request #103 from TEAM-Hearus/fix/mypage-re
Browse files Browse the repository at this point in the history
fix: ν•™λ…„ ν‘œμ‹œ μˆ˜μ •
  • Loading branch information
koeunbeee authored Oct 28, 2024
2 parents b7223ad + d17d3ca commit 28cd996
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useUserInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const useMypageInfo = () => {
userEmail: data?.object.userEmail || '',
userPassword: data?.object.userPassword || '',
userSchool: data?.object.userSchool || '',
userGrade: data?.object.userGrade || '',
userGrade: data?.object.userGrade || '0',
userMajor: data?.object.userMajor || '',
userOAuthType: data?.object.userOAuthType || '',
userPasswordConfirm: '',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Main/Mypage/Mypage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const MyPage = () => {
className={styles.gradeInput}
type="text"
name="userGrade"
value={info.userGrade}
value={info.userGrade === '0' ? '' : info.userGrade}
disabled
/>
</label>
Expand Down

0 comments on commit 28cd996

Please sign in to comment.