-
|
+
+
频道
+
+
{(workspace.workspaceState?.channels ?? []).map((channel) =>
{channel.title})}
Bot
{list}
@@ -42,18 +46,18 @@ export function ConversationList() {
}
-type RowProps = { icon: LucideIcon; avatar?: ReactNode; name: string; mark?: ReactNode; preview: string; unread: number; time?: string } & ({ to: "/channels"; params?: never } | { to: "/b/$botId"; params: { botId: string } })
+type RowProps = { botId: string; avatar: ReactNode; name: string; mark?: ReactNode; preview: string; unread: number; time?: string }
-function Row({ icon: Icon, avatar, name, mark, preview, unread, time, ...link }: RowProps) {
- return