Skip to content

Commit c2a80b1

Browse files
committed
docs: improve theme
1 parent 3def61d commit c2a80b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: packages/docs/src/templates/Docs.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ const DocsLayout: FC = ({ data: { mdx } }: { data: any }) => {
115115
Vue components. To learn more please visit the following pages.
116116
</p>
117117
<ul>
118-
{frameworks.map((item: string) => (
119-
<>
118+
{frameworks.map((item: string, index: number) => (
119+
<React.Fragment key={index}>
120120
{Object.keys(otherFrameworks[item]).map(
121121
(el, index) =>
122122
el !== 'react' && (
@@ -129,7 +129,7 @@ const DocsLayout: FC = ({ data: { mdx } }: { data: any }) => {
129129
</li>
130130
),
131131
)}
132-
</>
132+
</React.Fragment>
133133
))}
134134
</ul>
135135
</>

0 commit comments

Comments
 (0)