Open danieldanielecki opened 2 years ago
Try to debug it, it might be related to this part of the code:
const [selectedLocation, setSelectedLocation] = useState<Coordinate>({ latitude: 0, longitude: 0, });
or
let markerCoordinates: Coordinate = { latitude: 0, longitude: 0 };
but it's a bit strange because addEventHandler is fired after <Button />'s onPress(...).
addEventHandler
<Button />
onPress(...)
Try to debug it, it might be related to this part of the code:
or
but it's a bit strange because
addEventHandler
is fired after<Button />
'sonPress(...)
.