diff --git a/frontend/src/search.tsx b/frontend/src/search.tsx index 9c0e658..fe78f99 100644 --- a/frontend/src/search.tsx +++ b/frontend/src/search.tsx @@ -37,29 +37,12 @@ export function SearchProvider(props: { children: JSX.Element }) { }); } - const removeStops = (stopIds: Array) => { - batch(() => { - for (const stopId of stopIds) { - setStore('stops', stopId, undefined); - setStore('markers', stopId, undefined); - } - }); - } - - const getMarkers = () => { - return store.markers; - } - const addMarkers = (stopId: number, markers: L.Marker[]): void => { setStore('markers', stopId, markers); } - const setMarkers = (markers) => { - setStore('markers', markers); - } - return ( - + {props.children} );