| 1 | 'use client' |
| 2 | |
| 3 | import { useLocalStorage } from '../_lib/hooks/use-local-storage'; |
| 4 | import { cn } from '../_lib/utils'; |
| 5 | import { ChatPanel } from '../_ui/components/chat-panel'; |
| 6 | import { EmptyScreen } from '../_ui/components/empty-screen'; |
| 7 | import { useChat, type Message } from 'ai/react' |
| 8 | import { usePathname } from 'next/navigation'; |
| 9 | import { toast } from 'react-hot-toast' |
| 10 | |
| 11 | export interface ChatProps extends React.ComponentProps<'div'> { |
| 12 | initialMessages?: Message[] |
| 13 | id?: string |
| 14 | } |
| 15 | |
| 16 | export default function Page() { |
| 17 | return ( |
| 18 | <div className="prose prose-sm prose-invert max-w-none"> |
| 19 | </div> |
| 20 | ); |
| 21 | } |