mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
Run Prettier
This commit is contained in:
parent
a7b5148e06
commit
fbae29b0ff
29 changed files with 1311 additions and 987 deletions
|
@ -7,22 +7,24 @@
|
|||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
const React = require('react');
|
||||
const Container = require('./Container.js');
|
||||
const SideNav = require('./nav/SideNav.js');
|
||||
const React = require("react");
|
||||
const Container = require("./Container.js");
|
||||
const SideNav = require("./nav/SideNav.js");
|
||||
|
||||
const MetadataBlog = require('./MetadataBlog.js');
|
||||
const MetadataBlog = require("./MetadataBlog.js");
|
||||
|
||||
class BlogSidebar extends React.Component {
|
||||
render() {
|
||||
const contents = [{
|
||||
name: 'Recent Posts',
|
||||
links: MetadataBlog,
|
||||
}];
|
||||
const contents = [
|
||||
{
|
||||
name: "Recent Posts",
|
||||
links: MetadataBlog
|
||||
}
|
||||
];
|
||||
const title = this.props.current && this.props.current.title;
|
||||
const current = {
|
||||
id: title || '',
|
||||
category: 'Recent Posts',
|
||||
id: title || "",
|
||||
category: "Recent Posts"
|
||||
};
|
||||
return (
|
||||
<Container className="docsNavContainer" id="docsNav" wrapper={false}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue