Skip to content

Commit 85df7fd

Browse files
authored
feat: add support for TUM Heilbronn (#121)
1 parent 9ee4730 commit 85df7fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/Sidebar/Sidebar.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export default function Sidebar({ foodPlaces }: SidebarProps) {
3535
foodPlaces: [],
3636
},
3737
{ city: 'Rosenheim', foodPlaces: [] },
38+
{ city: 'Heilbronn', foodPlaces: [] },
3839
]
3940

4041
const handleOpenMap = () => {
@@ -57,6 +58,8 @@ export default function Sidebar({ foodPlaces }: SidebarProps) {
5758
foodPlacesSorted.find((item) => item.city === 'Rosenheim')?.foodPlaces.push(foodPlace)
5859
else if (address.includes('Straubing'))
5960
foodPlacesSorted.find((item) => item.city === 'Straubing')?.foodPlaces.push(foodPlace)
61+
else if (address.includes('Heilbronn'))
62+
foodPlacesSorted.find((item) => item.city === 'Heilbronn')?.foodPlaces.push(foodPlace)
6063
})
6164
const theme = useTheme()
6265
return (

0 commit comments

Comments
 (0)