Retrait de code de debug
This commit is contained in:
parent
ed019a3ed4
commit
a8182befe5
@ -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"))
|
||||
|
@ -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)
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user