diff --git a/dev-client/src/screens/SitesScreen/SitesScreen.tsx b/dev-client/src/screens/SitesScreen/SitesScreen.tsx index fe4691507..a263529ce 100644 --- a/dev-client/src/screens/SitesScreen/SitesScreen.tsx +++ b/dev-client/src/screens/SitesScreen/SitesScreen.tsx @@ -128,7 +128,7 @@ export const SitesScreen = memo(() => { [setCalloutState, mapRef], ); - const moveToUser = useCallback(() => { + const moveToUserAndShowCallout = useCallback(() => { if (currentUserCoords !== null) { mapRef.current?.moveToPoint(currentUserCoords); setCalloutState( @@ -168,7 +168,7 @@ export const SitesScreen = memo(() => {