Skip to content

Commit bb55d10

Browse files
committed
Re-ran Prettier after version bump
1 parent 76988ce commit bb55d10

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

Diff for: 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

Diff for: 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);

Diff for: src/components/CodeEditor/CodeEditor.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ class CodeEditor extends Component {
146146
<input
147147
checked={this.state.showJSX}
148148
onChange={event =>
149-
this.setState({showJSX: event.target.checked})}
149+
this.setState({showJSX: event.target.checked})
150+
}
150151
type="checkbox"
151152
/>{' '}
152153
JSX?

Diff for: src/components/MarkdownPage/MarkdownPage.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ const MarkdownPage = ({
9797
<div css={{marginTop: 80}}>
9898
<a
9999
css={sharedStyles.articleLayout.editLink}
100-
href={`https://github.com/reactjs/reactjs.org/tree/master/content/${markdownRemark
101-
.fields.path}`}>
100+
href={`https://github.com/reactjs/reactjs.org/tree/master/content/${
101+
markdownRemark.fields.path
102+
}`}>
102103
Edit this page
103104
</a>
104105
</div>

Diff for: src/pages/acknowledgements.html.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ const Acknowlegements = ({data, location}) => (
5252
</li>
5353
<li>
5454
<a href="http://christopheraue.net/">Christopher Aue</a> for
55-
letting us use the <a href="http://reactjs.com/">
56-
reactjs.com
57-
</a>{' '}
55+
letting us use the <a href="http://reactjs.com/">reactjs.com</a>{' '}
5856
domain name and the{' '}
5957
<a href="https://twitter.com/reactjs">@reactjs</a> username on
6058
Twitter.
@@ -70,9 +68,7 @@ const Acknowlegements = ({data, location}) => (
7068
<a href="https://github.com/react">react</a> org on GitHub.
7169
</li>
7270
<li>
73-
<a href="https://github.com/voronianski">
74-
Dmitri Voronianski
75-
</a>{' '}
71+
<a href="https://github.com/voronianski">Dmitri Voronianski</a>{' '}
7672
for letting us use the{' '}
7773
<a href="https://labs.voronianski.com/oceanic-next-color-scheme/">
7874
Oceanic Next

Diff for: src/theme.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,16 @@ type Size = $Keys<typeof SIZES>;
4545
const media = {
4646
between(smallKey: Size, largeKey: Size, excludeLarge: boolean = false) {
4747
if (excludeLarge) {
48-
return `@media (min-width: ${SIZES[smallKey]
49-
.min}px) and (max-width: ${SIZES[largeKey].min - 1}px)`;
48+
return `@media (min-width: ${
49+
SIZES[smallKey].min
50+
}px) and (max-width: ${SIZES[largeKey].min - 1}px)`;
5051
} else {
5152
if (SIZES[largeKey].max === Infinity) {
5253
return `@media (min-width: ${SIZES[smallKey].min}px)`;
5354
} else {
54-
return `@media (min-width: ${SIZES[smallKey]
55-
.min}px) and (max-width: ${SIZES[largeKey].max}px)`;
55+
return `@media (min-width: ${SIZES[smallKey].min}px) and (max-width: ${
56+
SIZES[largeKey].max
57+
}px)`;
5658
}
5759
}
5860
},

0 commit comments

Comments
 (0)