Skip to content

[Bug] location.state가 null일 때 런타임 에러 (EditPhotographerProfile) #37

Description

@seorinn

문제

useEffect 내에서 location.state.mainPhotographyTypes, location.state.activeRegions에 직접 접근합니다.

location.state가 null이면 TypeError가 발생합니다.

관련

PR #31에서 부분적으로 수정되었으나 추가 검토 필요합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions