codev / src /assistant /AssistantSessionChooser.tsx
chenbhao's picture
init: verspercode v0.1.0
064bfd6
Raw
History Blame Contribute Delete
270 Bytes
import { useEffect } from 'react'
type Props = {
sessions: unknown[]
onSelect: (sessionId: string) => void
onCancel: () => void
}
export function AssistantSessionChooser({ onCancel }: Props) {
useEffect(() => {
onCancel()
}, [onCancel])
return null
}