From 843cfb208849d652da16e943247057cf5a251254 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 25 Dec 2025 02:10:25 +0100 Subject: Fix shit with map --- src/frontend/app/components/shared/AppMap.tsx | 4 ++-- src/frontend/app/root.css | 9 +++++---- src/frontend/app/routes/map.tsx | 10 ++++------ 3 files changed, 11 insertions(+), 12 deletions(-) (limited to 'src/frontend/app') diff --git a/src/frontend/app/components/shared/AppMap.tsx b/src/frontend/app/components/shared/AppMap.tsx index adf860d..2c8d097 100644 --- a/src/frontend/app/components/shared/AppMap.tsx +++ b/src/frontend/app/components/shared/AppMap.tsx @@ -144,7 +144,7 @@ export const AppMap = forwardRef( } } }; - }, [syncState, updateMapState]); + }, [mapPositionMode, mapRef.current, updateMapState]); const getLatitude = (center: any) => Array.isArray(center) ? center[0] : center.lat; @@ -181,7 +181,7 @@ export const AppMap = forwardRef( return (