Skip to content

Commit

Permalink
fix: type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianaCeric committed Nov 30, 2023
1 parent b8dd116 commit 018b671
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/components/user/monitored-trip/saved-trip-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import TripSummaryPane from './trip-summary-pane'
interface ItemProps {
confirmAndDeleteUserMonitoredTrip: (id: string, intl: IntlShape) => void
intl: IntlShape
renderData: any
routeTo: (url: any) => void
togglePauseTrip: (trip: MonitoredTrip, intl: IntlShape) => void
trip: MonitoredTrip
Expand Down Expand Up @@ -179,7 +180,7 @@ class TripListItem extends Component<ItemProps, ItemState> {
}

// connect to the redux store
const itemMapStateToProps = (state, ownProps) => {
const itemMapStateToProps = (ownProps: ItemProps) => {
const { trip } = ownProps
const renderData = getRenderData({
monitoredTrip: trip
Expand Down

0 comments on commit 018b671

Please sign in to comment.