Skip to content

Commit

Permalink
Update event type in expo home
Browse files Browse the repository at this point in the history
  • Loading branch information
aleqsio committed Oct 7, 2022
1 parent 67d38a2 commit eea4a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home/screens/GeofencingScreen.tsx
Expand Up @@ -13,7 +13,7 @@ import {
Text,
View,
} from 'react-native';
import MapView, { Circle, MapEvent } from 'react-native-maps';
import MapView, { Circle, MapPressEvent } from 'react-native-maps';

import NavigationEvents from '../components/NavigationEvents';
import Button from '../components/PrimaryButton';
Expand Down Expand Up @@ -150,7 +150,7 @@ export default class GeofencingScreen extends React.Component<Props, State> {
}
};

onMapPress = ({ nativeEvent: { coordinate } }: MapEvent) => {
onMapPress = ({ nativeEvent: { coordinate } }: MapPressEvent) => {
this.setState(
(state) => ({
geofencingRegions: [
Expand Down

0 comments on commit eea4a3c

Please sign in to comment.