Skip to content

[Bug] 전화번호 수정 후 AuthContext 상태 미갱신 #9

Description

@dongmin0204

문제

AccountPage에서 전화번호 수정 완료 후 화면 상단에 표시되는 사용자 정보가 즉시 갱신되지 않음.

원인

  • src/pages/AccountPage.jsx:131getUserInfo 재호출은 하지만 결과를 AuthContext에 반영하는 로직 없음
  • 133번째 줄에 // TODO 주석으로 미완성 상태 명시되어 있음
  • AuthContextuser 상태가 갱신되지 않아 새로고침 전까지 이전 값 표시

해결 방안

  • AccountPage에서 전화번호 수정 성공 후 AuthContextupdateUser() (또는 refreshUser()) 호출
  • 또는 AuthContext에 사용자 정보 재로드 함수 추가 후 연결

심각도

중간 — 사용자 경험 불량 (수정이 반영됐는지 즉시 확인 불가)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions