Skip to content

Commit

Permalink
feat: add support for TUM Heilbronn (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayrion authored Mar 12, 2024
1 parent 9ee4730 commit 85df7fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function Sidebar({ foodPlaces }: SidebarProps) {
foodPlaces: [],
},
{ city: 'Rosenheim', foodPlaces: [] },
{ city: 'Heilbronn', foodPlaces: [] },
]

const handleOpenMap = () => {
Expand All @@ -57,6 +58,8 @@ export default function Sidebar({ foodPlaces }: SidebarProps) {
foodPlacesSorted.find((item) => item.city === 'Rosenheim')?.foodPlaces.push(foodPlace)
else if (address.includes('Straubing'))
foodPlacesSorted.find((item) => item.city === 'Straubing')?.foodPlaces.push(foodPlace)
else if (address.includes('Heilbronn'))
foodPlacesSorted.find((item) => item.city === 'Heilbronn')?.foodPlaces.push(foodPlace)
})
const theme = useTheme()
return (
Expand Down

0 comments on commit 85df7fd

Please sign in to comment.