We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ee4730 commit 85df7fdCopy full SHA for 85df7fd
components/Sidebar/Sidebar.tsx
@@ -35,6 +35,7 @@ export default function Sidebar({ foodPlaces }: SidebarProps) {
35
foodPlaces: [],
36
},
37
{ city: 'Rosenheim', foodPlaces: [] },
38
+ { city: 'Heilbronn', foodPlaces: [] },
39
]
40
41
const handleOpenMap = () => {
@@ -57,6 +58,8 @@ export default function Sidebar({ foodPlaces }: SidebarProps) {
57
58
foodPlacesSorted.find((item) => item.city === 'Rosenheim')?.foodPlaces.push(foodPlace)
59
else if (address.includes('Straubing'))
60
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)
63
})
64
const theme = useTheme()
65
return (
0 commit comments