16 lines
270 B
TypeScript
Executable File
16 lines
270 B
TypeScript
Executable File
import { useEffect } from 'react'
|
|
|
|
type Props = {
|
|
sessions: unknown[]
|
|
onSelect: (sessionId: string) => void
|
|
onCancel: () => void
|
|
}
|
|
|
|
export function AssistantSessionChooser({ onCancel }: Props) {
|
|
useEffect(() => {
|
|
onCancel()
|
|
}, [onCancel])
|
|
|
|
return null
|
|
}
|