wwf
3 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/base/chat/chat-with-history/sidebar/list.tsx
@@ -19,11 +19,16 @@
  currentConversationId,
}) => {
  return (
    <div className='space-y-0.5'>
      {title && (
        <div className='system-xs-medium-uppercase px-3 pb-1 pt-2 text-text-tertiary'>{title}</div>
      )}
      {list.map(item => (
    <div>
      {
        title && (
          <div className='mb-0.5 px-3 h-[26px] text-xs font-medium text-gray-500'>
            {title}
          </div>
        )
      }
      {
        list.map(item => (
        <Item
          key={item.id}
          isPin={isPin}
@@ -32,7 +37,8 @@
          onChangeConversation={onChangeConversation}
          currentConversationId={currentConversationId}
        />
      ))}
        ))
      }
    </div>
  )
}