Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 새로고침하면 본인 직업이 날라가는 문제 해결 #140

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

cheonjiyun
Copy link
Contributor

작업 내용

Game에서 본인 직업을 불러 오도록 수정

그러나

  1. wait상태에서는 직업이 없다는 문제 -> useEffect 의존성 배열의 [gamesStatus.statusType] 추가. wait이 아닐때만 불러옴
  2. status가 바뀔 때마다 요청하면 낭비임 -> myJobRecoil에 기본값을 null로 두고 있으면 요청하지 않음

close #139

@cheonjiyun cheonjiyun merged commit 2a701fc into dev Oct 29, 2024
1 check passed
@cheonjiyun cheonjiyun deleted the feature/#139 branch October 29, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

새로고침시 본인 직업 날라가는 문제
1 participant