Skip to content

Commit

Permalink
Merge pull request #307 from systemli/fix-undefined-location
Browse files Browse the repository at this point in the history
πŸ› Fix undefined location in TickerForm
  • Loading branch information
0x46616c6b authored Jul 17, 2022
2 parents 4e479c2 + f54e447 commit b9f755f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TickerForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ const TickerForm: FC<Props> = props => {
facebook: ticker?.information.facebook,
},
location: {
lat: ticker?.location.lat,
lon: ticker?.location.lon,
lat: ticker?.location.lat || 0,
lon: ticker?.location.lon || 0,
},
},
})
Expand Down

0 comments on commit b9f755f

Please sign in to comment.