From a8182befe5231c15a84971fe203cec758786796b Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 16 Dec 2024 18:26:06 +0100 Subject: [PATCH] Retrait de code de debug --- client/app/(tabs)/train.tsx | 1 - client/components/Map.tsx | 2 +- client/components/providers/GameProvider.tsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/client/app/(tabs)/train.tsx b/client/app/(tabs)/train.tsx index a682353..411063d 100644 --- a/client/app/(tabs)/train.tsx +++ b/client/app/(tabs)/train.tsx @@ -42,7 +42,6 @@ export default function TrainScreen() { const { hasShareIntent, shareIntent, resetShareIntent } = useShareIntentContext() useEffect(() => { - console.log(hasShareIntent, shareIntent) if (hasShareIntent) { resetShareIntent() if (!shareIntent.text || !shareIntent.text.includes("eurailapp.com/share")) diff --git a/client/components/Map.tsx b/client/components/Map.tsx index a36ecc4..1f16d79 100644 --- a/client/components/Map.tsx +++ b/client/components/Map.tsx @@ -34,7 +34,7 @@ function MapComponent({ followUser, setFollowUser }: { followUser?: boolean, set defaultSettings={{centerCoordinate: [userLocation?.coords.longitude, userLocation?.coords.latitude], zoomLevel: 15}} followUserLocation={followUser} followUserMode={UserTrackingMode.Follow} - followZoomLevel={13} + followZoomLevel={16} onUserTrackingModeChange={(event) => { if (followUser && !event.nativeEvent.payload.followUserLocation) setFollowUser(false) diff --git a/client/components/providers/GameProvider.tsx b/client/components/providers/GameProvider.tsx index 32d83de..905fb15 100644 --- a/client/components/providers/GameProvider.tsx +++ b/client/components/providers/GameProvider.tsx @@ -112,7 +112,6 @@ export default function GameProvider({ children }: { children: ReactNode }) { const { hasShareIntent, shareIntent, resetShareIntent } = useShareIntentContext() useEffect(() => { - console.log(hasShareIntent, shareIntent) if (hasShareIntent) { if (!shareIntent.text || !shareIntent.text.includes("eurailapp.com/share")) return resetShareIntent()