Commit 85df7fd 1 parent 9ee4730 commit 85df7fd Copy full SHA for 85df7fd
File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export default function Sidebar({ foodPlaces }: SidebarProps) {
35
35
foodPlaces : [ ] ,
36
36
} ,
37
37
{ city : 'Rosenheim' , foodPlaces : [ ] } ,
38
+ { city : 'Heilbronn' , foodPlaces : [ ] } ,
38
39
]
39
40
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 )
58
59
else if ( address . includes ( 'Straubing' ) )
59
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 )
60
63
} )
61
64
const theme = useTheme ( )
62
65
return (
You can’t perform that action at this time.
0 commit comments