chore(v2): fix code style (revert previous changes)

This commit is contained in:
Alexey Pyltsyn 2020-04-05 17:38:12 +03:00
parent 1480a7eb80
commit 1f00d15c74
143 changed files with 457 additions and 458 deletions

View file

@ -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} />
) : (