Skip to content

Commit

Permalink
Merge pull request Expensify#26124 from allroundexperts/fix-lint-erro…
Browse files Browse the repository at this point in the history
…r-25974
  • Loading branch information
francoisl authored Aug 28, 2023
2 parents 9b34d34 + 813cf1d commit 5813ac9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/pages/iou/WaypointEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,25 @@ const propTypes = {
}),
}),

recentWaypoints: PropTypes.arrayOf(
PropTypes.shape({
/** A description of the location (usually the address) */
description: PropTypes.string,

/** Data required by the google auto complete plugin to know where to put the markers on the map */
geometry: PropTypes.shape({
/** Data about the location */
location: PropTypes.shape({
/** Lattitude of the location */
lat: PropTypes.number,

/** Longitude of the location */
lng: PropTypes.number,
}),
}),
}),
),

/** The optimistic transaction for this request */
transaction: transactionPropTypes,
};
Expand All @@ -47,6 +66,7 @@ const defaultProps = {
waypointIndex: '',
},
},
recentWaypoints: [],
transaction: {},
};

Expand Down

0 comments on commit 5813ac9

Please sign in to comment.