mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
chore(v2): fix code style (revert previous changes)
This commit is contained in:
parent
1480a7eb80
commit
1f00d15c74
143 changed files with 457 additions and 458 deletions
|
@ -13,7 +13,7 @@ const MetadataBlog = require('./MetadataBlog.js');
|
|||
const MetadataPublicBlog =
|
||||
process.env.NODE_ENV === 'development'
|
||||
? MetadataBlog
|
||||
: MetadataBlog.filter(item => !item.unlisted);
|
||||
: MetadataBlog.filter((item) => !item.unlisted);
|
||||
|
||||
class BlogSidebar extends React.Component {
|
||||
render() {
|
||||
|
@ -33,7 +33,7 @@ class BlogSidebar extends React.Component {
|
|||
{
|
||||
type: 'CATEGORY',
|
||||
title: blogSidebarTitle,
|
||||
children: MetadataPublicBlog.slice(0, blogSidebarCount).map(item => ({
|
||||
children: MetadataPublicBlog.slice(0, blogSidebarCount).map((item) => ({
|
||||
type: 'LINK',
|
||||
item,
|
||||
})),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue