Skip to content

Commit

Permalink
πŸ› Fix undefined location in TickerForm
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed Jul 17, 2022
1 parent 4e479c2 commit f54e447
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 f54e447

Please sign in to comment.