From 9b825542d71988ac88c650efd56a23c8388db343 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Mon, 22 May 2023 13:40:47 +0200 Subject: [PATCH] fix --- app/sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sidebar.tsx b/app/sidebar.tsx index c31196e..e2379f3 100644 --- a/app/sidebar.tsx +++ b/app/sidebar.tsx @@ -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({