The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix: map pins update immediately when category filter is cleared
Maurice808b7f7a72d2
diff --git a/client/src/pages/TripPlannerPage.tsx b/client/src/pages/TripPlannerPage.tsxindex a02263d04..778c7da91 100644--- a/client/src/pages/TripPlannerPage.tsx+++ b/client/src/pages/TripPlannerPage.tsx@@ -118,7 +118,7 @@ export default function TripPlannerPage(): React.ReactElement | null {const [mapCategoryFilter, setMapCategoryFilter] = useState<string>('')- const mapPlaces = useCallback(() => {+ const mapPlaces = useMemo(() => {return places.filter(p => {if (!p.lat || !p.lng) return falseif (mapCategoryFilter && String(p.category_id) !== String(mapCategoryFilter)) return false@@ -376,7 +376,7 @@ export default function TripPlannerPage(): React.ReactElement | null {{activeTab === 'plan' && (<div style={{ position: 'absolute', inset: 0 }}><MapView- places={mapPlaces()}+ places={mapPlaces}dayPlaces={dayPlaces}route={route}routeSegments={routeSegments}