Skip to content

Commit fa1ac27

Browse files
authored
Remove note about their being more parts to the tutorial (#3655)
* Remove note about their being more parts to the tutorial We'll ship more stuff when we do. No reason to make it sound less than useful as it is. * format
1 parent a263f98 commit fa1ac27

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

www/src/components/search-form.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ class SearchForm extends Component {
248248
}
249249

250250
focusSearchInput(e) {
251-
if (e.key !== `s`) return
252-
if (document.activeElement === this.searchInput) return // eslint-disable-line no-undef
253-
e.preventDefault()
254-
this.searchInput.focus()
251+
if (e.key !== `s`) return
252+
if (document.activeElement === this.searchInput) return // eslint-disable-line no-undef
253+
e.preventDefault()
254+
this.searchInput.focus()
255255
}
256256

257257
componentDidMount() {
@@ -339,7 +339,9 @@ class SearchForm extends Component {
339339
placeholder="Search docs"
340340
aria-label="Search docs"
341341
title="Hit 's' to search docs"
342-
ref={(input) => { this.searchInput = input }}
342+
ref={input => {
343+
this.searchInput = input
344+
}}
343345
/>
344346
</form>
345347
) : null

www/src/pages/tutorial.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ export default () => (
1111
</Helmet>
1212
<h1 css={{ marginTop: 0 }}>Gatsby.js Tutorial</h1>
1313
<p>
14-
Hi! We’re so happy you decided to try using Gatsby. This tutorial has (or
15-
rather will have once all parts are written) five parts that'll walk you
16-
from getting started developing and building Gatsby sites to deploying a
17-
finished and polished high performance static PWA.
14+
Hi! We’re so happy you decided to try using Gatsby. This tutorial has five
15+
parts that'll walk you from getting started developing and building Gatsby
16+
sites to deploying a finished and polished high performance static PWA.
1817
</p>
1918
<p>
2019
This tutorial is for <em>everyone</em>! You do not need to be a programmer

0 commit comments

Comments
 (0)