We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30965eb commit 7fc829bCopy full SHA for 7fc829b
1 file changed
src/pages/SignUp/PickMyStyle/index.tsx
@@ -27,15 +27,15 @@ const PickMyStyle: React.FC = () => {
27
28
// 유저 정보 가져오기
29
useEffect(() => {
30
- const fetchUserInfo = async () => {
+ const getUserInfo = async () => {
31
try {
32
const userInfo = await getUserInfoApi(currentUserId);
33
setNickname(userInfo.data.nickname);
34
} catch (error) {
35
console.error('유저 정보 불러오기 실패:', error);
36
}
37
};
38
- fetchUserInfo();
+ getUserInfo();
39
}, [currentUserId]);
40
41
// 이미지 클릭 시 상태 변경
0 commit comments