Skip to content

Commit

Permalink
[hotfix] 회원 학과 정보 불러오기 (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwak-Seungju committed Sep 29, 2024
1 parent 9cb7f0c commit 70812b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Auth/ModifyInfoPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const MajorInput = React.forwardRef<ICustomFormInput, ICustomFormInputProps>((pr
const { data: userInfo } = useUser();
const [studentNumber, setStudentNumber] = React.useState<string>(userInfo?.student_number || '');
const { data: deptList } = useDeptList();
const [major, setMajor] = React.useState<string | null>(null);
const [major, setMajor] = React.useState<string | null>(userInfo?.major || '');
const deptOptionList = deptList.map((dept) => ({
label: dept.name,
value: dept.name,
Expand Down

0 comments on commit 70812b2

Please sign in to comment.