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({