Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Fix eslint errors (#1734)
Browse files Browse the repository at this point in the history
  • Loading branch information
tesseralis authored and bvaughn committed Feb 25, 2019
1 parent 7a46106 commit c792f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/CodeEditor/CodeEditor.js
Expand Up @@ -43,7 +43,7 @@ class CodeEditor extends Component {
}

render() {
const {children, containerNodeID} = this.props;
const {containerNodeID} = this.props;
const {
compiledES6,
code,
Expand Down
5 changes: 1 addition & 4 deletions src/templates/components/Sidebar/Section.js
Expand Up @@ -81,10 +81,7 @@ class Section extends React.Component {
? activeItemId === item.id
: isItemActive(location, item),
item: section.isOrdered
? {
...item,
title: `${index + 1}. ${item.title}`,
}
? {...item, title: `${index + 1}. ${item.title}`}
: item,
location,
onLinkClick,
Expand Down

0 comments on commit c792f7d

Please sign in to comment.