tamotam-app
tamotam-app copied to clipboard
User's events are sometimes added automatically to Cloud Firestore for Firebase
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(...)
.