add empty screen and external links
This commit is contained in:
parent
f14e73ac8f
commit
398b671300
5 changed files with 136 additions and 10 deletions
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue