mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix renderer props
This commit is contained in:
@ -15,7 +15,7 @@ const UnorderedList: React.FC<Props> = ({ children }: Props) => {
|
||||
</div>
|
||||
<div>
|
||||
{children.map((child, index) => (
|
||||
<Renderer key={`${child.type}-${index}`} node={child} />
|
||||
<Renderer key={`${child.type}-${index}`} index={String(index)} node={child} />
|
||||
))}
|
||||
</div>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user