import * as React from 'react' import Link from 'next/link' import { cn } from '@/lib/utils' import { SidebarList } from '@/components/sidebar-list' import { buttonVariants } from '@/components/ui/button' import { IconPlus } from '@/components/ui/icons' interface ChatHistoryProps { userId?: string } export async function ChatHistory({ userId }: ChatHistoryProps) { return (
New Chat
{Array.from({ length: 10 }).map((_, i) => (
))}
} > {/* @ts-ignore */}
) }