Files
tkmind_go/ui/desktop/src/components/Pair2.tsx
T
Douwe Osinga d836a10af1 Next camp (#5237)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Zane <75694352+zanesq@users.noreply.github.com>
Co-authored-by: Zane Staggs <zane@squareup.com>
2025-10-21 15:00:21 -07:00

29 lines
632 B
TypeScript

import 'react-toastify/dist/ReactToastify.css';
import { ChatType } from '../types/chat';
import BaseChat2 from './BaseChat2';
interface PairProps {
setChat: (chat: ChatType) => void;
setIsGoosehintsModalOpen: (isOpen: boolean) => void;
sessionId: string;
initialMessage?: string;
}
export default function Pair({
setChat,
setIsGoosehintsModalOpen,
sessionId,
initialMessage,
}: PairProps) {
return (
<BaseChat2
setChat={setChat}
setIsGoosehintsModalOpen={setIsGoosehintsModalOpen}
sessionId={sessionId}
initialMessage={initialMessage}
suppressEmptyState={false}
/>
);
}