Skip to content

Commit bde9155

Browse files
authored
Markdown: fix child key warning (#267)
1 parent b28b241 commit bde9155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Markdown/Markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ function renderTokens(tokens: Token[], keyPrefix = ''): ReactNode[] {
641641
)
642642
)
643643

644-
return createElement('table', { key }, [thead, tbody])
644+
return createElement('table', { key }, thead, tbody)
645645
}
646646
default:
647647
return null

0 commit comments

Comments
 (0)