mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-15 18:17:35 +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
|
@ -11,7 +11,7 @@ const React = require('react');
|
|||
class Head extends React.Component {
|
||||
render() {
|
||||
const links = this.props.config.headerLinks;
|
||||
const hasBlog = links.some(link => link.blog);
|
||||
const hasBlog = links.some((link) => link.blog);
|
||||
|
||||
const highlight = {
|
||||
version: '9.12.0',
|
||||
|
@ -130,7 +130,7 @@ class Head extends React.Component {
|
|||
|
||||
{/* External resources */}
|
||||
{this.props.config.stylesheets &&
|
||||
this.props.config.stylesheets.map(source =>
|
||||
this.props.config.stylesheets.map((source) =>
|
||||
source.href ? (
|
||||
<link rel="stylesheet" key={source.href} {...source} />
|
||||
) : (
|
||||
|
@ -138,7 +138,7 @@ class Head extends React.Component {
|
|||
),
|
||||
)}
|
||||
{this.props.config.scripts &&
|
||||
this.props.config.scripts.map(source =>
|
||||
this.props.config.scripts.map((source) =>
|
||||
source.src ? (
|
||||
<script type="text/javascript" key={source.src} {...source} />
|
||||
) : (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue