Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rayane-djouah committed Jan 7, 2024
1 parent ae35725 commit ee491d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/ConfirmedRoute.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {ReactNode, useCallback, useEffect} from 'react';
import React, {useCallback, useEffect} from 'react';
import type {ReactNode} from 'react';
import {withOnyx} from 'react-native-onyx';
import type {OnyxEntry} from 'react-native-onyx/lib/types';
import useNetwork from '@hooks/useNetwork';
Expand Down Expand Up @@ -97,7 +98,7 @@ function ConfirmedRoute({mapboxAccessToken, transaction}: ConfirmedRouteProps) {
zoom: CONST.MAPBOX.DEFAULT_ZOOM,
location: waypointMarkers?.[0]?.coordinate ?? (CONST.MAPBOX.DEFAULT_COORDINATE as [number, number]),
}}
directionCoordinates={coordinates as [number, number][]}
directionCoordinates={coordinates as Array<[number, number]>}
style={[styles.mapView, styles.br4]}
waypoints={waypointMarkers}
styleURL={CONST.MAPBOX.STYLE_URL}
Expand Down

0 comments on commit ee491d0

Please sign in to comment.