Skip to content

Commit b54cc4f

Browse files
committed
Markdown: fix child key warning
1 parent b28b241 commit b54cc4f

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)