Skip to content

Commit e6a739d

Browse files
committed
Yarn check for merge
1 parent bd2525b commit e6a739d

File tree

7 files changed

+20
-16
lines changed

7 files changed

+20
-16
lines changed

gatsby-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright (c) 2013-present, Facebook, Inc.
33
*
44
* @emails react-core
5-
*/
5+
*/
66

77
'use strict';
88

gatsby-node.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ exports.onCreateNode = ({node, boundActionCreators, getNode}) => {
231231
// This should only happen for the partials in /content/home,
232232
// But let's log it in case it happens for other files also.
233233
console.warn(
234-
`Warning: No slug found for "${relativePath}". Falling back to default "${slug}".`,
234+
`Warning: No slug found for "${
235+
relativePath
236+
}". Falling back to default "${slug}".`,
235237
);
236238
}
237239

plugins/gatsby-source-react-error-codes/gatsby-node.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ exports.sourceNodes = async ({boundActionCreators}) => {
2020
});
2121
} catch (error) {
2222
console.error(
23-
`The gatsby-source-react-error-codes plugin has failed:\n${error.message}`,
23+
`The gatsby-source-react-error-codes plugin has failed:\n${
24+
error.message
25+
}`,
2426
);
2527

2628
process.exit(1);

src/components/CodeEditor/CodeEditor.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ class CodeEditor extends Component {
150150
<input
151151
checked={this.state.showJSX}
152152
onChange={event =>
153-
this.setState({showJSX: event.target.checked})}
153+
this.setState({showJSX: event.target.checked})
154+
}
154155
type="checkbox"
155156
/>{' '}
156157
JSX?

src/components/MarkdownPage/MarkdownPage.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ const MarkdownPage = ({
9999
<div css={{marginTop: 80}}>
100100
<a
101101
css={sharedStyles.articleLayout.editLink}
102-
href={`https://github.com/reactjs/reactjs.org/tree/master/content/${markdownRemark
103-
.fields.path}`}>
102+
href={`https://github.com/reactjs/reactjs.org/tree/master/content/${
103+
markdownRemark.fields.path
104+
}`}>
104105
Edit this page
105106
</a>
106107
</div>

src/pages/acknowledgements.html.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ const Acknowlegements = ({data, location}) => (
5454
</li>
5555
<li>
5656
<a href="http://christopheraue.net/">Christopher Aue</a> for
57-
letting us use the <a href="http://reactjs.com/">
58-
reactjs.com
59-
</a>{' '}
57+
letting us use the <a href="http://reactjs.com/">reactjs.com</a>{' '}
6058
domain name and the{' '}
6159
<a href="https://twitter.com/reactjs">@reactjs</a> username on
6260
Twitter.
@@ -72,9 +70,7 @@ const Acknowlegements = ({data, location}) => (
7270
<a href="https://github.com/react">react</a> org on GitHub.
7371
</li>
7472
<li>
75-
<a href="https://github.com/voronianski">
76-
Dmitri Voronianski
77-
</a>{' '}
73+
<a href="https://github.com/voronianski">Dmitri Voronianski</a>{' '}
7874
for letting us use the{' '}
7975
<a href="https://labs.voronianski.com/oceanic-next-color-scheme/">
8076
Oceanic Next

src/theme.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,16 @@ type Size = $Keys<typeof SIZES>;
4747
const media = {
4848
between(smallKey: Size, largeKey: Size, excludeLarge: boolean = false) {
4949
if (excludeLarge) {
50-
return `@media (min-width: ${SIZES[smallKey]
51-
.min}px) and (max-width: ${SIZES[largeKey].min - 1}px)`;
50+
return `@media (min-width: ${
51+
SIZES[smallKey].min
52+
}px) and (max-width: ${SIZES[largeKey].min - 1}px)`;
5253
} else {
5354
if (SIZES[largeKey].max === Infinity) {
5455
return `@media (min-width: ${SIZES[smallKey].min}px)`;
5556
} else {
56-
return `@media (min-width: ${SIZES[smallKey]
57-
.min}px) and (max-width: ${SIZES[largeKey].max}px)`;
57+
return `@media (min-width: ${SIZES[smallKey].min}px) and (max-width: ${
58+
SIZES[largeKey].max
59+
}px)`;
5860
}
5961
}
6062
},

0 commit comments

Comments
 (0)