ESLintify Part 2 (#841)

* ESLintify Part 2

* Fix

* Fix tests

* Fix tests

* Fix tests
This commit is contained in:
Yangshun Tay 2018-07-10 21:53:08 -07:00 committed by GitHub
parent 4267337fb0
commit 5ac2cee658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 188 additions and 190 deletions

View file

@ -85,7 +85,7 @@ class DocsLayout extends React.Component {
][metadata.previous_id] ||
translation[this.props.metadata.language][
'localized-strings'
]['previous'] ||
].previous ||
'Previous'
: metadata.previous_title || 'Previous'}
</a>
@ -103,7 +103,7 @@ class DocsLayout extends React.Component {
][metadata.next_id] ||
translation[this.props.metadata.language][
'localized-strings'
]['next'] ||
].next ||
'Next'
: metadata.next_title || 'Next'}{' '}