fix
This commit is contained in:
parent
a71f01ea3a
commit
9b825542d7
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ export function Sidebar({ session, newChat }: SidebarProps) {
|
||||||
Sidebar.displayName = "Sidebar";
|
Sidebar.displayName = "Sidebar";
|
||||||
|
|
||||||
async function SidebarList({ session }: { session?: Session }) {
|
async function SidebarList({ session }: { session?: Session }) {
|
||||||
const chats = (
|
const chats = await (
|
||||||
await unstable_cache(
|
await unstable_cache(
|
||||||
() =>
|
() =>
|
||||||
prisma.chat.findMany({
|
prisma.chat.findMany({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue