Skip to content

Commit

Permalink
Merge pull request #522 from ttaerrim/bug-521
Browse files Browse the repository at this point in the history
[Bug] 장소 모달에서 장소 검색 시 undefined 에러 발생하는 버그
  • Loading branch information
ttaerrim authored Feb 4, 2024
2 parents 54a320f + 2e15ab6 commit 5e47f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/frontend/src/components/Modal/MapModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function MapModal({ saveAddress }: MapModalProps) {
<ul id="address-input" className={styles.list}>
{addressData.map((address) => {
const fullAddress =
address.newAddressList.newAddress[0].fullAddressRoad;
address.newAddressList.newAddress[0]?.fullAddressRoad;
const addressName = address.name;
const { noorLat: lat, noorLon: lon } = address;
return (
Expand Down

0 comments on commit 5e47f47

Please sign in to comment.