Skip to content

Commit

Permalink
fix: resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kubabutkiewicz committed Sep 20, 2023
1 parent 40e845b commit f91c354
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/libs/actions/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ function removeWaypoint(transactionID: string, currentIndex: string) {
route0: {
distance: null,
geometry: {
type: '',
coordinates: null,
},
},
Expand Down
4 changes: 2 additions & 2 deletions src/types/onyx/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ type Comment = {
waypoints?: WaypointCollection;
};

type GeometryType = 'LineString' | '';
type GeometryType = 'LineString';

type Geometry = {
coordinates: number[][] | null;
type: GeometryType;
type?: GeometryType;
};

type Route = {
Expand Down

0 comments on commit f91c354

Please sign in to comment.