Skip to content

Commit 7aaad0f

Browse files
authored
refactor: remove redundant fragment (#309)
1 parent e6ea23f commit 7aaad0f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/theme/DocItem/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@ import React from 'react';
22
import DocItem from '@theme-original/DocItem';
33

44
export default function DocItemWrapper(props) {
5-
return (
6-
<>
7-
<DocItem {...props} />
8-
</>
9-
);
5+
return <DocItem {...props} />;
106
}

0 commit comments

Comments
 (0)