Skip to content

Commit

Permalink
Merge pull request #1158 from 18F/bjs-fix-lat-lng-bug
Browse files Browse the repository at this point in the history
lat, lng bug fix
  • Loading branch information
jeremiak authored Jul 14, 2017
2 parents 0bb0867 + 2fc180d commit ed5156f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PlaceThumbnail.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class PlaceThumbnail extends React.Component {
s => s.properties.name.toUpperCase() === placeUpper,
)

const { lat, lng } = coordinates
const { lat, lng } = coordinates || {}
const pin = coordinates && projection([lng, lat])

let scale = 1
Expand Down

0 comments on commit ed5156f

Please sign in to comment.