feat: context box

This commit is contained in:
archer
2023-07-23 22:58:20 +08:00
parent 6fd83e1e75
commit 6fc6c99477
9 changed files with 88 additions and 67 deletions

View File

@@ -110,10 +110,10 @@ const ChatHistorySlider = ({
{/* chat history */}
<Box flex={'1 0 0'} h={0} px={[2, 5]} overflow={'overlay'}>
{concatHistory.map((item) => (
{concatHistory.map((item, i) => (
<Flex
position={'relative'}
key={item.id}
key={item.id || `${i}`}
alignItems={'center'}
py={3}
px={4}