inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

최수렬님의 게시글

최수렬 최수렬

@choichoichoi

수강평 작성수
-
평균평점
-

게시글 3

질문&답변

프로필 사진을 변경 후 뒤로가기 시, 서버 이미지 이슈

server > src > auth > auth.service.ts 파일에서async editProfile(editProfileDto: EditProfileDto, user: User) { 이부분 검색하시고 함수 제일 아래 블록에 const { password, hashedRefreshToken, ...rest } = profile; return { ...rest }; 입력하세요 서버에서 리턴을 안해줘서 그런겁니다 그리고 CustomDrawerContent.tsx 파일에서 function CustomDrawerContent(props: DrawerContentComponentProps) { const {getProfileQuery} = useAuth(); const {isError, isPending, data} = getProfileQuery; const {email, nickname, imageUri, kakaoImageUri} = data || {}; const handlePressSetting = () => { props.navigation.navigate(mainNavigations.SETTING, { screen: settingNavigations.SETTING_HOME, }); }; if (isError || isPending) { return ; } return ( 이렇게 변경해주세요 isError || isPending 이 부분 있어야합니다

좋아요수
1
댓글수
3
조회수
248

질문&답변

aws ec2 배포시 질문

개발환경을 ubuntu로 바꾸고 node 경로를 적용하니 잘 됩니다 아마 윈도우여서 잘 안됐나 봅니다 감사합니다~

좋아요수
1
댓글수
2
조회수
902

질문&답변

frame 질문합니다.

댓글 감사합니다 알려주신 내용대로하니 게임은 다시 시작하지만 init() 함수에서 선언한 hero와 몬스터들이 초기화 되지 않아서 몬스터가 안나오는데 기존에 선언하여 생성된 인스턴스들은 어떻게 초기화 하나요

좋아요수
0
댓글수
2
조회수
353