Refactor to use ai/rsc (#253)

This commit is contained in:
Jeremy 2024-03-14 20:00:52 +03:00 committed by GitHub
parent 69ca8fcc22
commit e85ba803dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
66 changed files with 2799 additions and 740 deletions

View file

@ -14,7 +14,10 @@ interface ChatHistoryProps {
export async function ChatHistory({ userId }: ChatHistoryProps) {
return (
<div className="flex flex-col h-full">
<div className="px-2 my-4">
<div className="flex items-center justify-between p-4">
<h4 className="text-sm font-medium">Chat History</h4>
</div>
<div className="mb-2 px-2">
<Link
href="/"
className={cn(