+
+
+
+
+
+
+
+
+ {companions.length === 0 ? (
+
+
+
+ ) : (
+
+ {companions.map((companion) => (
+
+ ))}
+
+ )}
+
+
+ }
+ onSubmit={handleAddNewEmail}
+ placeholder="friend.email@example.com"
+ submitText={
+
+ }
+ />
+
+ )
+}
+
+export default CompanionsPane
diff --git a/lib/components/user/monitored-trip/saved-trip-editor.tsx b/lib/components/user/monitored-trip/saved-trip-editor.tsx
index 701b7cd38..55e235878 100644
--- a/lib/components/user/monitored-trip/saved-trip-editor.tsx
+++ b/lib/components/user/monitored-trip/saved-trip-editor.tsx
@@ -3,6 +3,7 @@ import React, { ComponentType } from 'react'
import { BackButtonContent } from '../back-link'
import { MonitoredTrip } from '../types'
+import { PaneAttributes } from '../stacked-panes'
import { TRIPS_PATH } from '../../../util/constants'
import DeleteForm from '../delete-form'
import Link from '../../util/link'
@@ -12,6 +13,7 @@ import StackedPanesWithSave from '../stacked-panes-with-save'
import TripNotFound from './trip-not-found'
interface Props {
+ hasMobilityProfile: boolean
isCreating: boolean
onCancel: () => void
panes: Record