show avatar dialog instead of default (#4033)

show avatar dialog instead of default

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
so95
2024-12-17 16:29:35 +07:00
committed by GitHub
parent 09436f6c60
commit 251592eeeb
14 changed files with 159 additions and 12 deletions

View File

@ -89,9 +89,12 @@ const KnowledgeList = () => {
className={styles.knowledgeCardContainer}
>
{nextList?.length > 0 ? (
nextList.map((item: any) => {
nextList.map((item: any, index: number) => {
return (
<KnowledgeCard item={item} key={item.name}></KnowledgeCard>
<KnowledgeCard
item={item}
key={`${item?.name}-${index}`}
></KnowledgeCard>
);
})
) : (