mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-01 17:07:59 +02:00
ESLintify Part 2 (#841)
* ESLintify Part 2 * Fix * Fix tests * Fix tests * Fix tests
This commit is contained in:
parent
4267337fb0
commit
5ac2cee658
42 changed files with 188 additions and 190 deletions
|
@ -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'}{' '}
|
||||
→
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue