File size: 251 Bytes
009c95b
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import { dbGetMyChatList } from '@/lib/db/functions';
import ChatSelect from './ChatSelect';

export default async function ChatSelectServer() {
  const [myChats] = await Promise.all([dbGetMyChatList()]);

  return <ChatSelect myChats={myChats} />;
}