mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Chat Drawer: fix key
This commit is contained in:
@@ -343,12 +343,8 @@ function ChatDrawer(props: {
|
||||
{item.title}
|
||||
</Typography>
|
||||
) : item.type === 'nav-item-info-message' ? (
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center', gap: 1, ml: 2 }}>
|
||||
<Typography
|
||||
key={'nav-info-' + idx}
|
||||
level='body-xs'
|
||||
sx={{ color: 'primary.softColor', my: 'calc(var(--ListItem-minHeight) / 4)' }}
|
||||
>
|
||||
<Box key={'nav-info-' + idx} sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center', gap: 1, ml: 2 }}>
|
||||
<Typography level='body-xs' sx={{ color: 'primary.softColor', my: 'calc(var(--ListItem-minHeight) / 4)' }}>
|
||||
{filterHasStars && <StarOutlineRoundedIcon sx={{ color: 'primary.softColor', fontSize: 'xl', mb: -0.5, mr: 1 }} />}
|
||||
{item.message}
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user