Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ const Profile = ({ userInfo }) => {
if (response.ok) {
const data = await response.json();
// 새로운 데이터로 상태 업데이트
setSeasonCommitCount(userInfo.seasonCommitCount || 0);
setPetExp(userInfo.petExp || 0);
setSeasonCommitCount(data.seasonCommitCount || 0);
setPetExp(data.petExp || 0);
// 마지막 갱신 시간 업데이트
setLastRefreshTime(new Date());
}
Expand Down