Skip to content

Commit 242dbdd

Browse files
committed
yarn upgrade
works locally...
1 parent 45a72f9 commit 242dbdd

File tree

2 files changed

+1273
-1409
lines changed

2 files changed

+1273
-1409
lines changed

src/utils/sectionList.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ import navDocs from '../../content/docs/nav.yml';
1212
// $FlowExpectedError
1313
import navTutorial from '../../content/tutorial/nav.yml';
1414

15-
const sectionListDocs = navDocs.map((item: Object): Object => ({
16-
...item,
17-
directory: 'docs',
18-
}));
15+
const sectionListDocs = navDocs.map(
16+
(item: Object): Object => ({
17+
...item,
18+
directory: 'docs',
19+
}),
20+
);
1921

20-
const sectionListCommunity = navCommunity.map((item: Object): Object => ({
21-
...item,
22-
directory: 'community',
23-
}));
22+
const sectionListCommunity = navCommunity.map(
23+
(item: Object): Object => ({
24+
...item,
25+
directory: 'community',
26+
}),
27+
);
2428

2529
export {
2630
sectionListCommunity,

0 commit comments

Comments
 (0)