Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Sep 1, 2023
1 parent 1275324 commit 96d7fb6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/components/MapView/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ const MapView = forwardRef<MapViewHandle, MapViewProps>(({accessToken, style, ma
};

return (
<View
style={style}
>
<View style={style}>
<Mapbox.MapView
style={{flex: 1}}
styleURL={styleURL}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MapView/MapView.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const MapView = forwardRef<MapViewHandle, MapViewProps>(
);

return (
<View
<View
style={style}
// eslint-disable-next-line
{...responder.panHandlers}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MapView/responder/index.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ const responder = {
panHandlers: {},
};

export default responder;
export default responder;
2 changes: 1 addition & 1 deletion src/components/MapView/responder/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const responder = PanResponder.create({
onPanResponderTerminationRequest: () => false,
});

export default responder;
export default responder;

0 comments on commit 96d7fb6

Please sign in to comment.