add empty screen and external links

This commit is contained in:
Shu Ding 2023-05-23 16:49:07 +02:00
parent f14e73ac8f
commit 398b671300
No known key found for this signature in database
GPG key ID: B84C6E25F5FEA16B
5 changed files with 136 additions and 10 deletions

View file

@ -5,6 +5,7 @@ import { type Message } from "@prisma/client";
import { ChatMessage } from "./chat-message";
import { NextChatLogo } from "@/components/ui/nextchat-logo";
import { Plus } from "lucide-react";
import { EmptyScreen } from "./empty";
export interface ChatList {
messages: Message[];
@ -36,7 +37,9 @@ export function ChatList({ messages }: ChatList) {
/>
))}
</div>
) : null}
) : (
<EmptyScreen />
)}
</div>
</div>
);