Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed Dec 23, 2024
1 parent be2faf1 commit 5805fef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ee/tabby-ui/components/chat/chat-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,11 @@ function ChatPanelRenderer(
</motion.div>
) : null}
{relevantContext.map((item, idx) => {
// `filepath + range` as unique key
const key = `${item.git_url}_${item.filepath}_${item.range?.start}_${item.range?.end}`
return (
<motion.div
// `filepath + range` as unique key
key={item.filepath + item.range?.start + item.range?.end}
key={key}
initial={{ opacity: 0, scale: 0.9, y: -5 }}
animate={{ opacity: 1, scale: 1, y: 0 }}
transition={{
Expand Down

0 comments on commit 5805fef

Please sign in to comment.