import { ChevronRight, Luggage } from 'lucide-react'; import { useTranslation } from '../../i18n'; import EmptyState from '../shared/EmptyState'; import { Spinner } from '../shared/Spinner'; import { type PickerTrip, useAssistantTripPicker } from './useAssistantTripPicker'; /** * Outside a trip the assistant first asks which one: the chat, its history * and its changes all belong to one trip. The running and the next trip lead. */ export default function AssistantTripPicker({ onPick }: { onPick: (trip: PickerTrip) => void }) { const { t } = useTranslation(); const trips = useAssistantTripPicker(); if (trips === null) { return (