Skip to content

Commit

Permalink
πŸ› μž₯μ†Œ λͺ¨λ‹¬μ—μ„œ μž₯μ†Œ 검색 μ‹œ undefined μ—λŸ¬ λ°œμƒν•˜λŠ” 버그
Browse files Browse the repository at this point in the history
- fullAddressRoad 속성이 μ—†λŠ” κ²½μš°κ°€ μžˆμ–΄, μ˜΅μ…”λ„ 체이닝 μΆ”κ°€
  • Loading branch information
ttaerrim committed Feb 1, 2024
1 parent 42e9ef8 commit 2e15ab6
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 2e15ab6

Please sign in to comment.