Skip to content

Commit f9a4a38

Browse files
committed
Reverted yarn.lock to match master & run yarn prettier
1 parent dee9444 commit f9a4a38

File tree

7 files changed

+162
-131
lines changed

7 files changed

+162
-131
lines changed

gatsby-node.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,7 @@ 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 "${
235-
relativePath
236-
}". Falling back to default "${slug}".`,
234+
`Warning: No slug found for "${relativePath}". Falling back to default "${slug}".`,
237235
);
238236
}
239237

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

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

2826
process.exit(1);

src/components/CodeEditor/CodeEditor.js

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

src/components/MarkdownPage/MarkdownPage.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ 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/${
103-
markdownRemark.fields.path
104-
}`}>
102+
href={`https://github.com/reactjs/reactjs.org/tree/master/content/${markdownRemark
103+
.fields.path}`}>
105104
Edit this page
106105
</a>
107106
</div>

src/pages/acknowledgements.html.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ 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/">reactjs.com</a>{' '}
57+
letting us use the <a href="http://reactjs.com/">
58+
reactjs.com
59+
</a>{' '}
5860
domain name and the{' '}
5961
<a href="https://twitter.com/reactjs">@reactjs</a> username on
6062
Twitter.
@@ -70,7 +72,9 @@ const Acknowlegements = ({data, location}) => (
7072
<a href="https://github.com/react">react</a> org on GitHub.
7173
</li>
7274
<li>
73-
<a href="https://github.com/voronianski">Dmitri Voronianski</a>{' '}
75+
<a href="https://github.com/voronianski">
76+
Dmitri Voronianski
77+
</a>{' '}
7478
for letting us use the{' '}
7579
<a href="https://labs.voronianski.com/oceanic-next-color-scheme/">
7680
Oceanic Next

src/theme.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@ 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: ${
51-
SIZES[smallKey].min
52-
}px) and (max-width: ${SIZES[largeKey].min - 1}px)`;
50+
return `@media (min-width: ${SIZES[smallKey]
51+
.min}px) and (max-width: ${SIZES[largeKey].min - 1}px)`;
5352
} else {
5453
if (SIZES[largeKey].max === Infinity) {
5554
return `@media (min-width: ${SIZES[smallKey].min}px)`;
5655
} else {
57-
return `@media (min-width: ${SIZES[smallKey].min}px) and (max-width: ${
58-
SIZES[largeKey].max
59-
}px)`;
56+
return `@media (min-width: ${SIZES[smallKey]
57+
.min}px) and (max-width: ${SIZES[largeKey].max}px)`;
6058
}
6159
}
6260
},

0 commit comments

Comments
 (0)