This commit is contained in:
Shu Ding 2023-05-22 13:40:47 +02:00
parent a71f01ea3a
commit 9b825542d7
No known key found for this signature in database
GPG key ID: B84C6E25F5FEA16B

View file

@ -58,7 +58,7 @@ export function Sidebar({ session, newChat }: SidebarProps) {
Sidebar.displayName = "Sidebar";
async function SidebarList({ session }: { session?: Session }) {
const chats = (
const chats = await (
await unstable_cache(
() =>
prisma.chat.findMany({